summaryrefslogtreecommitdiffstats
path: root/main/libc0.9.32/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libc0.9.32/APKBUILD')
-rw-r--r--main/libc0.9.32/APKBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/main/libc0.9.32/APKBUILD b/main/libc0.9.32/APKBUILD
index da3421449..db7a9b0c1 100644
--- a/main/libc0.9.32/APKBUILD
+++ b/main/libc0.9.32/APKBUILD
@@ -1,9 +1,9 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_abiver=0.9.32
pkgname=libc$_abiver
-_gitver=100427
+_gitver=100507
pkgver=${_abiver}_alpha0_git$_gitver
-pkgrel=5
+pkgrel=0
pkgdesc="C library for developing embedded Linux systems"
url=http://uclibc.org
license="LGPL-2"
@@ -13,8 +13,9 @@ depends_dev="linux-headers=>2.6.32"
#options="!strip"
replaces=uclibc
-source="
- http://git.uclibc.org/uClibc/snapshot/master.tar.bz2
+_snapurl="http://git.uclibc.org/uClibc/snapshot/master.tar.bz2"
+_snapfile="$pkgname-$pkgver.tar.bz2"
+source="http://build.alpinelinux.org:8010/distfiles/$_snapfile
compat-stack-guard.patch
0001-static-build-fix-internal-locking-weaks-to-get-pulle.patch
0002-resolv-various-memory-corruption-and-off-by-one-fixe.patch
@@ -27,7 +28,10 @@ _builddir="$srcdir"/master
snapshot() {
local _date=$(date +%y%m%d%H%M)
- rm -f "$SRCDEST"/master.tar.bz2
+ pkgver=${_abiver}_alpha0_git$_gitver
+
+ rm -f "$SRCDEST"/$_snapfile
+ wget -O "$SRCDEST"/$_snapfile $_snapurl
pkgrel=0
sed -i -e "s/^_gitver=.*/_gitver=$(date +%y%m%d)/" \
-e "s/^pkgrel=.*/pkgrel=$pkgrel/" \
@@ -88,9 +92,9 @@ utils() {
mv "$pkgdir"/usr/bin/* "$subpkgdir"/usr/bin/
}
-md5sums="46e98672dc2a4309d9a7c65b4e626845 master.tar.bz2
+md5sums="46e98672dc2a4309d9a7c65b4e626845 libc0.9.32-0.9.32_alpha0_git100507.tar.bz2
4d408f72142ce55a0754948cc9cfe447 compat-stack-guard.patch
826666b365f2d63a71d67eb76c94f7bc 0001-static-build-fix-internal-locking-weaks-to-get-pulle.patch
0800a489a738c7b1d8c3643cb9806926 0002-resolv-various-memory-corruption-and-off-by-one-fixe.patch
-791e2fc050cab523ce1c907ca39a2486 uclibcconfig.x86
-791e2fc050cab523ce1c907ca39a2486 uclibcconfig.i486"
+e2eb3bb00a0fe4d6f3d5b5c56b027bab uclibcconfig.x86
+e2eb3bb00a0fe4d6f3d5b5c56b027bab uclibcconfig.i486"