summaryrefslogtreecommitdiffstats
path: root/main/zlib
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-30 15:55:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-30 15:55:20 +0000
commit363df59b0cc4bcffdfd767c171106e6c2e0f0809 (patch)
treee455916897b22c277c518adb1c563c7e654414c1 /main/zlib
parent6536a0b245a54a18f9ea7b075afc7213ca517059 (diff)
downloadaports-363df59b0cc4bcffdfd767c171106e6c2e0f0809.tar.bz2
aports-363df59b0cc4bcffdfd767c171106e6c2e0f0809.tar.xz
main/zlib: upgrade to 1.2.3.4
Diffstat (limited to 'main/zlib')
-rw-r--r--main/zlib/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD
index f497f2c11..5313f988f 100644
--- a/main/zlib/APKBUILD
+++ b/main/zlib/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zlib
-pkgver=1.2.3.3
-pkgrel=7
+pkgver=1.2.3.4
+pkgrel=0
pkgdesc="A compression/decompression Library"
license=custom:zlib
url="http://www.gzip.org/zlib"
@@ -10,9 +10,13 @@ source="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --libdir=/lib --shared
make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make install DESTDIR="$pkgdir" || return 1
# we want the zlib.pc be a part of -dev package
@@ -20,4 +24,4 @@ build() {
mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/
}
-md5sums="c444cf020e5f0e3323b11f5a2d8af8d3 zlib-1.2.3.3.tar.gz"
+md5sums="70cad33163abe3c234939a5c63bf95ea zlib-1.2.3.4.tar.gz"