diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-04 08:47:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-04 08:47:57 +0000 |
commit | e5240fa75fd5871e2641d98e4a4286380ba2b26e (patch) | |
tree | 46be46879eb11083739c46cd84e33fe489038fd2 /main/libc | |
parent | a391895bb117c57d5ad7777468afb7e0ec66d33d (diff) | |
download | aports-e5240fa75fd5871e2641d98e4a4286380ba2b26e.tar.bz2 aports-e5240fa75fd5871e2641d98e4a4286380ba2b26e.tar.xz |
main/libc: add support for musl
Diffstat (limited to 'main/libc')
-rw-r--r-- | main/libc/APKBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/main/libc/APKBUILD b/main/libc/APKBUILD index 440295244c..05e9a5935c 100644 --- a/main/libc/APKBUILD +++ b/main/libc/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libc -pkgver=0.1 +pkgver=0.2 pkgrel=0 pkgdesc="Meta package to pull in correct libc" url="http://alpinelinux.org" @@ -30,16 +30,18 @@ package() { dev() { mkdir -p "$subpkgdir" case "$CHOST" in - *-uclibc) depends="uclibc-dev";; - *-gnu) depends="eglibc-dev";; + *-uclibc*) depends="uclibc-dev";; + *-gnu*) depends="eglibc-dev";; + *-musl*) depends="musl-dev";; esac } utils() { mkdir -p "$subpkgdir" case "$CHOST" in - *-uclibc) depends="uclibc-utils";; - *-gnu) depends="eglibc-utils";; + *-uclibc*) depends="uclibc-utils";; + *-gnu*) depends="eglibc-utils";; + *-musl*) depends="musl-utils";; esac } |