diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-23 14:32:17 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-08-26 09:00:43 +0000 |
commit | 388a4fb3640f8ccbd18e105df3ad741dca4247e1 (patch) | |
tree | 6b701d4676248bfdc6715a8e4d0915ba12b86c35 | |
parent | f4ea3e13369d4a4eb24512c4f11b0518be9d0b45 (diff) | |
download | aports-388a4fb3640f8ccbd18e105df3ad741dca4247e1.tar.bz2 aports-388a4fb3640f8ccbd18e105df3ad741dca4247e1.tar.xz |
main/zlib: add zlib-static subpackage, fix license
-rw-r--r-- | main/zlib/APKBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD index f84a3502e5..e9f33ee647 100644 --- a/main/zlib/APKBUILD +++ b/main/zlib/APKBUILD @@ -1,20 +1,18 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=zlib pkgver=1.2.11 -pkgrel=2 +pkgrel=3 pkgdesc="A compression/decompression Library" arch="all" -license="zlib" +license="Zlib" url="https://zlib.net/" -subpackages="$pkgname-dev $pkgname-doc" -source="https://zlib.net/$pkgname-$pkgver.tar.gz" - -builddir="$srcdir/$pkgname-$pkgver" +subpackages="$pkgname-static $pkgname-dev $pkgname-doc" +source="https://zlib.net/zlib-$pkgver.tar.gz" build() { # we trade size for a little more speed. export CFLAGS="$CFLAGS -O2" - CHOST="${CHOST}" ./configure \ + CHOST="$CHOST" ./configure \ --prefix=/usr \ --libdir=/lib \ --shared |