diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-14 02:22:19 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-14 02:22:56 -0500 |
commit | b1eb50599e4db7eb4501af75cbbfa22007081ea5 (patch) | |
tree | c94a34c882cc17adedd781e8c5f34349b2a62416 /system/zlib | |
parent | b9e85bbdcf38547ef2ca4e5c2a6e6293bbcd2752 (diff) | |
download | packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.tar.gz packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.tar.bz2 packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.tar.xz packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.zip |
The New Plan
all pkgs needed to bootstrap -> system
others -> user
Diffstat (limited to 'system/zlib')
-rw-r--r-- | system/zlib/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/system/zlib/APKBUILD b/system/zlib/APKBUILD new file mode 100644 index 000000000..54b50ccfb --- /dev/null +++ b/system/zlib/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=zlib +pkgver=1.2.11 +pkgrel=1 +pkgdesc="A compression/decompression Library" +arch="all" +license="zlib" +url="http://zlib.net" +depends="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://zlib.net/$pkgname-$pkgver.tar.gz" + +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + # we trade size for a little more speed. + export CFLAGS="$CFLAGS -O2" + CHOST="${CHOST}" ./configure \ + --prefix=/usr \ + --libdir=/lib \ + --shared + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make install \ + pkgconfigdir="/usr/lib/pkgconfig" \ + DESTDIR="$pkgdir" +} + +md5sums="1c9f62f0778697a09d36121ead88e08e zlib-1.2.11.tar.gz" +sha256sums="c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 zlib-1.2.11.tar.gz" +sha512sums="73fd3fff4adeccd4894084c15ddac89890cd10ef105dd5e1835e1e9bbb6a49ff229713bd197d203edfa17c2727700fce65a2a235f07568212d820dca88b528ae zlib-1.2.11.tar.gz" |