aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-headers/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/linux-headers/APKBUILD')
-rw-r--r--main/linux-headers/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/linux-headers/APKBUILD b/main/linux-headers/APKBUILD
index 272d63ce02..d4db2d3d35 100644
--- a/main/linux-headers/APKBUILD
+++ b/main/linux-headers/APKBUILD
@@ -2,12 +2,16 @@
pkgname=linux-headers
pkgver=2.6.32.2
_kernver=2.6.32
-pkgrel=2
+pkgrel=3
pkgdesc="Linux system headers"
url="http://kernel.org"
license='GPL-2'
makedepends="perl"
-replaces="uclibc-dev"
+if [ "$ALPINE_LIBC" = "eglibc" ]; then
+ replaces="eglibc-dev"
+else
+ replaces="uclibc-dev"
+fi
options="!strip !tracedeps"
source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2