aboutsummaryrefslogtreecommitdiffstats
path: root/main/zlib/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-28 19:27:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-28 19:27:11 +0000
commit09838439c042827adfa17b7cf387729c9bc03f71 (patch)
treea75767845ed11932698b28a74a3d2872c80acd26 /main/zlib/APKBUILD
parent0935adc881c214273ff81eaa0992af009a6cf2ab (diff)
downloadaports-09838439c042827adfa17b7cf387729c9bc03f71.tar.bz2
aports-09838439c042827adfa17b7cf387729c9bc03f71.tar.xz
main/zlib: upgrade to 1.2.4
Diffstat (limited to 'main/zlib/APKBUILD')
-rw-r--r--main/zlib/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD
index 037819dfec..adf584ea97 100644
--- a/main/zlib/APKBUILD
+++ b/main/zlib/APKBUILD
@@ -1,17 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zlib
-pkgver=1.2.3.9
+pkgver=1.2.4
pkgrel=0
pkgdesc="A compression/decompression Library"
license=custom:zlib
-url="http://www.gzip.org/zlib"
+url="http://zlib.net"
depends=
-source="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"
+source="http://zlib.net/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
_builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$_builddir"
+ # we trade size for a little more speed.
+ export CFLAGS="$CFLAGS -O2"
./configure --prefix=/usr --libdir=/lib --shared
make || return 1
}
@@ -29,4 +31,4 @@ dev() {
mv "$pkgdir"/lib/libz.a "$subpkgdir"/lib/libz.a
}
-md5sums="e63390cc6cbd0722f70729307d4dd01d zlib-1.2.3.9.tar.gz"
+md5sums="47f6ed51b3c83a8534f9228531effa18 zlib-1.2.4.tar.gz"