diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-27 15:44:26 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-27 16:03:01 +0000 |
commit | 9283b7523dd5b87c8a4a45e0c4fa3ea498836556 (patch) | |
tree | 0fa250c525690ec7440d0da193639cbc4e4eb399 /community/libzip | |
parent | 556b623c327723e03bba3bf0f5ac841dd005b3b8 (diff) | |
download | aports-9283b7523dd5b87c8a4a45e0c4fa3ea498836556.tar.bz2 aports-9283b7523dd5b87c8a4a45e0c4fa3ea498836556.tar.xz |
testing/libzip: move to community
Diffstat (limited to 'community/libzip')
-rw-r--r-- | community/libzip/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/community/libzip/APKBUILD b/community/libzip/APKBUILD new file mode 100644 index 0000000000..a990427545 --- /dev/null +++ b/community/libzip/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: k0r10n <k0r10n.dev@gmail.com> +# Contributor: Jose-Luis Rivas <ghostbar@riseup.net> +# Maintainer: Carlo Landmeter <clandmeter@gmail.com> +pkgname=libzip +pkgver=1.1.3 +pkgrel=0 +pkgdesc="A C library for reading, creating, and modifying zip archives" +url="http://www.nih.at/libzip/index.html" +arch="all" +license="BSD" +depends= +depends_dev="zlib-dev" +makedepends="$depends_dev perl" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="http://www.nih.at/libzip/$pkgname-$pkgver.tar.gz" + +builddir="$srcdir/$pkgname-$pkgver" +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" -j1 install install-man || return 1 + mv "$pkgdir"/usr/lib/libzip/include/* "$pkgdir"/usr/include || return 1 + rm -fr "$pkgdir"/usr/lib/libzip +} + +tools() { + pkgdesc="$pkgname cmp and merge tools" + install -d "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr || return 1 +} + +md5sums="898f02db185068c8ae45bafe4c5cc81c libzip-1.1.3.tar.gz" +sha256sums="1faa5a524dd4a12c43b6344e618edce1bf8050dfdb9d0f73f3cc826929a002b0 libzip-1.1.3.tar.gz" +sha512sums="8534b48d2f1498b741925dbdf7510ebbdfb9773b5266ec28b1eb22b8f1a39e7ba44d225dae7d5dc265415a30e5b5295e7061e5c97698834405ce97ef08b97326 libzip-1.1.3.tar.gz" |