aboutsummaryrefslogtreecommitdiffstats
path: root/main/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'main/zlib')
-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"