summaryrefslogtreecommitdiffstats
path: root/main/zlib/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-14 12:42:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-14 12:42:13 +0000
commit00b6d3eac9db51b03e0c3ce62e1a1d16f8a0d29b (patch)
treef2970f7dac27f674f54a8848fcffa2554af05fc8 /main/zlib/APKBUILD
parent0ada67ec8947b79b168c1d717e5ccd939eb29f59 (diff)
downloadaports-00b6d3eac9db51b03e0c3ce62e1a1d16f8a0d29b.tar.bz2
aports-00b6d3eac9db51b03e0c3ce62e1a1d16f8a0d29b.tar.xz
main/zlib: header fixes
fixes cgit and possibly libxml2
Diffstat (limited to 'main/zlib/APKBUILD')
-rw-r--r--main/zlib/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD
index 1f4465a98..62d3ec49d 100644
--- a/main/zlib/APKBUILD
+++ b/main/zlib/APKBUILD
@@ -1,15 +1,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zlib
pkgver=1.2.5
-pkgrel=0
+pkgrel=1
pkgdesc="A compression/decompression Library"
license=custom:zlib
url="http://zlib.net"
depends=
-source="http://zlib.net/$pkgname-$pkgver.tar.gz"
+source="http://zlib.net/$pkgname-$pkgver.tar.gz
+ zlib-1.2.5-lfs-decls.patch
+ "
subpackages="$pkgname-dev $pkgname-doc"
_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$_builddir"
+ patch -p1 -i "$srcdir"/zlib-1.2.5-lfs-decls.patch
+}
+
build() {
cd "$_builddir"
# we trade size for a little more speed.
@@ -31,4 +38,5 @@ dev() {
mv "$pkgdir"/lib/libz.a "$subpkgdir"/lib/libz.a
}
-md5sums="c735eab2d659a96e5a594c9e8541ad63 zlib-1.2.5.tar.gz"
+md5sums="c735eab2d659a96e5a594c9e8541ad63 zlib-1.2.5.tar.gz
+4cb279ea3beab621f3526bf7b7ab99e5 zlib-1.2.5-lfs-decls.patch"