Commit e5240fa7 authored by Natanael Copa's avatar Natanael Copa

main/libc: add support for musl

parent a391895b
# 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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment