diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:24:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:24:11 +0000 |
commit | 2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd (patch) | |
tree | a63d3b3b1c89018b5419358eed5c2bb0acf1cd92 /main/zlib/APKBUILD | |
parent | e374901731eb35599bd6735de4dd38560e3a79b8 (diff) | |
download | aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.bz2 aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.xz |
move core/* to main/
added maintainer to several packages as well
Diffstat (limited to 'main/zlib/APKBUILD')
-rw-r--r-- | main/zlib/APKBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD new file mode 100644 index 0000000000..f497f2c114 --- /dev/null +++ b/main/zlib/APKBUILD @@ -0,0 +1,23 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=zlib +pkgver=1.2.3.3 +pkgrel=7 +pkgdesc="A compression/decompression Library" +license=custom:zlib +url="http://www.gzip.org/zlib" +depends= +source="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz" +subpackages="$pkgname-dev $pkgname-doc" + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --libdir=/lib --shared + make || return 1 + make install DESTDIR="$pkgdir" || return 1 + + # we want the zlib.pc be a part of -dev package + mkdir -p "$pkgdir"/usr/lib + mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/ +} + +md5sums="c444cf020e5f0e3323b11f5a2d8af8d3 zlib-1.2.3.3.tar.gz" |