diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-01-22 21:06:05 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-01-22 21:06:05 +0100 |
commit | ff9aabea3273344cad0452062edade36eb2a5fb4 (patch) | |
tree | dc30dafa699217c0092fa289b120bd13041dd91b /community/libzip | |
parent | bc683e6ad01baf763f621acbb96e92a0520d9f3d (diff) | |
download | aports-ff9aabea3273344cad0452062edade36eb2a5fb4.tar.bz2 aports-ff9aabea3273344cad0452062edade36eb2a5fb4.tar.xz |
community/libzip: upgrade to 1.4.0
Upstream switched from GNU autotools to CMake.
Diffstat (limited to 'community/libzip')
-rw-r--r-- | community/libzip/APKBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/community/libzip/APKBUILD b/community/libzip/APKBUILD index 0d602f8aae..3f7ccace92 100644 --- a/community/libzip/APKBUILD +++ b/community/libzip/APKBUILD @@ -2,14 +2,14 @@ # Contributor: Jose-Luis Rivas <ghostbar@riseup.net> # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=libzip -pkgver=1.3.1 +pkgver=1.4.0 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_dev="zlib-dev" -makedepends="$depends_dev perl" +makedepends="$depends_dev perl cmake" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" source="http://www.nih.at/libzip/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" @@ -20,13 +20,13 @@ builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" make } @@ -46,4 +46,4 @@ tools() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr } -sha512sums="3889077ed0fa07c702f2f7d01e97072faef3b0a3677b6ed8bab228bb8edcce46c78a2bcd8dd1e19f9c8624ca17e74dba66d11d07b756959e00751276fd959c23 libzip-1.3.1.tar.gz" +sha512sums="ade168e24150a7a3365813d49d6e6189248e1a5e82d73fc93936350e5be03f33357aea07d54f6560f2ea0ad1fef1ecd61c16e399b68dfb1879b0665364652feb libzip-1.4.0.tar.gz" |