diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-09-23 12:56:58 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-09-23 12:57:50 +0000 |
commit | 7d537b8775d8f2b7082a73dc21e5b36dbe8cde7a (patch) | |
tree | 7608ffb2bde9486039f55ded28ea11fb7872d616 | |
parent | 057d88bfead5f65fe94ba1aae7dc14481ae7cd1c (diff) | |
download | aports-7d537b8775d8f2b7082a73dc21e5b36dbe8cde7a.tar.bz2 aports-7d537b8775d8f2b7082a73dc21e5b36dbe8cde7a.tar.xz |
main/libc-dev: use CLIBC, and fix musl support
-rw-r--r-- | main/libc-dev/APKBUILD | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/main/libc-dev/APKBUILD b/main/libc-dev/APKBUILD index 3ee0e88f72..75ad2fa253 100644 --- a/main/libc-dev/APKBUILD +++ b/main/libc-dev/APKBUILD @@ -1,14 +1,14 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libc-dev -pkgver=0.3 +pkgver=0.4 pkgrel=0 pkgdesc="Meta package to pull in correct libc" url="http://alpinelinux.org" arch="noarch" license="GPL" makedepends="" -depends= +depends="$CLIBC-dev" subpackages="libc-utils:utils" source="sys-queue.h " @@ -26,23 +26,18 @@ build() { package() { mkdir -p "$pkgdir" - case "$CHOST" in - *-uclibc*) depends="uclibc-dev";; - *-gnu*) depends="eglibc-dev";; - *-musl*) - depends="musl-dev" - install -D "$srcdir"/sys-queue.h "$subpkgdir"/usr/include/sys/queue.h + case "$CLIBC" in + musl) + depends="$depends linux-headers" + install -D "$srcdir"/sys-queue.h "$pkgdir"/usr/include/sys/queue.h ;; esac } utils() { + depends="$CLIBC-utils" + mkdir -p "$subpkgdir" - case "$CHOST" in - *-uclibc*) depends="uclibc-utils";; - *-gnu*) depends="eglibc-utils";; - *-musl*) depends="musl-utils" ;; - esac } md5sums="555be8a6d1523a2272f4a04e4e936d5e sys-queue.h" |