aboutsummaryrefslogtreecommitdiffstats
path: root/main/libc
diff options
context:
space:
mode:
Diffstat (limited to 'main/libc')
-rw-r--r--main/libc/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/main/libc/APKBUILD b/main/libc/APKBUILD
new file mode 100644
index 0000000000..440295244c
--- /dev/null
+++ b/main/libc/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libc
+pkgver=0.1
+pkgrel=0
+pkgdesc="Meta package to pull in correct libc"
+url="http://alpinelinux.org"
+arch="noarch"
+license="GPL"
+makedepends=""
+depends=
+subpackages="$pkgname-dev $pkgname-utils"
+source=""
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ mkdir -p "$_builddir"
+ cd "$_builddir"
+}
+
+build() {
+ return 0
+}
+
+package() {
+ mkdir -p "$pkgdir"
+}
+
+dev() {
+ mkdir -p "$subpkgdir"
+ case "$CHOST" in
+ *-uclibc) depends="uclibc-dev";;
+ *-gnu) depends="eglibc-dev";;
+ esac
+}
+
+utils() {
+ mkdir -p "$subpkgdir"
+ case "$CHOST" in
+ *-uclibc) depends="uclibc-utils";;
+ *-gnu) depends="eglibc-utils";;
+ esac
+}
+
+md5sums=""