[arch-commits] Commit in musl/repos (4 files)
Sergej Pupykin
spupykin at archlinux.org
Tue Sep 9 17:02:10 UTC 2014
Date: Tuesday, September 9, 2014 @ 19:02:10
Author: spupykin
Revision: 118718
archrelease: copy trunk to community-i686, community-x86_64
Added:
musl/repos/community-i686/
musl/repos/community-i686/PKGBUILD
(from rev 118717, musl/trunk/PKGBUILD)
musl/repos/community-x86_64/
musl/repos/community-x86_64/PKGBUILD
(from rev 118717, musl/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
Copied: musl/repos/community-i686/PKGBUILD (from rev 118717, musl/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-09-09 17:02:10 UTC (rev 118718)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: TJ Vanderpoel <tj at rubyists>
+
+pkgname=musl
+pkgver=1.0.4
+pkgrel=1
+pkgdesc="An implementation of the C/POSIX standard library intended for use on Linux-based systems"
+arch=('i686' 'x86_64')
+url="http://www.musl-libc.org/"
+license=('MIT')
+makedepends=('make')
+provides=('musl')
+conflicts=('musl-mainline')
+options=('staticlibs' '!buildflags' '!strip')
+source=(http://www.musl-libc.org/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('f502c98800dfe02d063ca66a1aea5a3e')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ if [ "$CC" != "clang" ];then
+ _my_flags="-fno-toplevel-reorder -fno-stack-protector"
+ fi
+ CFLAGS="${CFLAGS} $_my_flags" ./configure --prefix=/usr/lib/musl --exec-prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+
+ install -d -m0755 "$pkgdir/usr/lib/"
+ mv "$pkgdir/lib/"ld-musl*.so* "$pkgdir/usr/lib/"
+ rmdir "$pkgdir"/lib
+
+ install -Dm0644 README "$pkgdir"/usr/share/doc/musl/README
+ install -Dm0644 COPYRIGHT "$pkgdir"/usr/share/licenses/musl/COPYRIGHT
+}
Copied: musl/repos/community-x86_64/PKGBUILD (from rev 118717, musl/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-09-09 17:02:10 UTC (rev 118718)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: TJ Vanderpoel <tj at rubyists>
+
+pkgname=musl
+pkgver=1.0.4
+pkgrel=1
+pkgdesc="An implementation of the C/POSIX standard library intended for use on Linux-based systems"
+arch=('i686' 'x86_64')
+url="http://www.musl-libc.org/"
+license=('MIT')
+makedepends=('make')
+provides=('musl')
+conflicts=('musl-mainline')
+options=('staticlibs' '!buildflags' '!strip')
+source=(http://www.musl-libc.org/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('f502c98800dfe02d063ca66a1aea5a3e')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ if [ "$CC" != "clang" ];then
+ _my_flags="-fno-toplevel-reorder -fno-stack-protector"
+ fi
+ CFLAGS="${CFLAGS} $_my_flags" ./configure --prefix=/usr/lib/musl --exec-prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+
+ install -d -m0755 "$pkgdir/usr/lib/"
+ mv "$pkgdir/lib/"ld-musl*.so* "$pkgdir/usr/lib/"
+ rmdir "$pkgdir"/lib
+
+ install -Dm0644 README "$pkgdir"/usr/share/doc/musl/README
+ install -Dm0644 COPYRIGHT "$pkgdir"/usr/share/licenses/musl/COPYRIGHT
+}
More information about the arch-commits
mailing list