diff options
Diffstat (limited to 'main/libc0.9.32')
-rw-r--r-- | main/libc0.9.32/APKBUILD | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/main/libc0.9.32/APKBUILD b/main/libc0.9.32/APKBUILD index 06edd5de81..bb0fc08c6a 100644 --- a/main/libc0.9.32/APKBUILD +++ b/main/libc0.9.32/APKBUILD @@ -4,18 +4,21 @@ pkgname=libc$_abiver _gitver= pkgver=0.9.33.2 _ver=${pkgver/_/-} -pkgrel=9 +pkgrel=10 pkgdesc="C library for developing embedded Linux systems" url=http://uclibc.org license="LGPL-2" arch="all" options= makedepends="linux-headers" -subpackages="uclibc-dev:dev uclibc-utils:utils libthread_db" +# libc subpackage must be last +subpackages="uclibc-dev:dev uclibc-utils:utils libthread_db libpthread libc" depends_dev="linux-headers=>2.6.32" replaces=uclibc +depends="libpthread libc" options="!strip" triggers="uclibc-utils.trigger=/lib:/usr/lib" +ldpath="/lib" _snapurl="http://git.uclibc.org/uClibc/snapshot/master.tar.bz2" _snapfile="$pkgname-$pkgver.tar.bz2" @@ -130,6 +133,7 @@ dev() { utils() { pkgdesc="uClibc utility programs" replaces="uclibc $pkgname" + depends= mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/sbin mv "$pkgdir"/sbin/* "$subpkgdir"/sbin/ mv "$pkgdir"/usr/bin/* "$subpkgdir"/usr/bin/ @@ -137,10 +141,29 @@ utils() { libthread_db() { pkgdesc="uClibc thread debugging library" + depends= mkdir -p "$subpkgdir"/lib mv "$pkgdir"/lib/libthread_db* "$subpkgdir"/lib/ } +libpthread() { + pkgdesc="uClibc threading and realtime libraries" + replaces="libc0.9.32" + depends= + mkdir -p "$subpkgdir"/lib + mv "$pkgdir"/lib/libpthread* \ + "$pkgdir"/lib/librt* \ + "$subpkgdir"/lib/ +} + +libc() { + pkgdesc="uClibc standard C libraries" + replaces="libc0.9.32" + depends= + mkdir -p "$subpkgdir"/lib + mv "$pkgdir"/lib/* "$subpkgdir"/lib/ +} + md5sums="73e6fe215648d02246f4d195b25fb17e uClibc-0.9.33.2.tar.xz d4c8fb190eb4327453ed924159ca432e 0001-Compatible-stack-protector-for-non-Thread-Local-stor.patch f9c9de09da5eade2fb9dff8f9f8b3fc9 0002-resolv-res_query-for-CNAMEs.patch |