mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
community/libzip: upgrade to 1.4.0
Upstream switched from GNU autotools to CMake.
This commit is contained in:
parent
bc683e6ad0
commit
ff9aabea32
@ -2,14 +2,14 @@
|
|||||||
# Contributor: Jose-Luis Rivas <ghostbar@riseup.net>
|
# Contributor: Jose-Luis Rivas <ghostbar@riseup.net>
|
||||||
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
|
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
|
||||||
pkgname=libzip
|
pkgname=libzip
|
||||||
pkgver=1.3.1
|
pkgver=1.4.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="A C library for reading, creating, and modifying zip archives"
|
pkgdesc="A C library for reading, creating, and modifying zip archives"
|
||||||
url="http://www.nih.at/libzip/index.html"
|
url="http://www.nih.at/libzip/index.html"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
depends_dev="zlib-dev"
|
depends_dev="zlib-dev"
|
||||||
makedepends="$depends_dev perl"
|
makedepends="$depends_dev perl cmake"
|
||||||
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
|
||||||
source="http://www.nih.at/libzip/$pkgname-$pkgver.tar.gz"
|
source="http://www.nih.at/libzip/$pkgname-$pkgver.tar.gz"
|
||||||
builddir="$srcdir/$pkgname-$pkgver"
|
builddir="$srcdir/$pkgname-$pkgver"
|
||||||
@ -20,13 +20,13 @@ builddir="$srcdir/$pkgname-$pkgver"
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
./configure \
|
cmake \
|
||||||
--build=$CBUILD \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
--host=$CHOST \
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
--prefix=/usr \
|
-DBUILD_SHARED_LIBS=True \
|
||||||
--sysconfdir=/etc \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
--mandir=/usr/share/man \
|
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
|
||||||
--localstatedir=/var
|
-DCMAKE_C_FLAGS="$CFLAGS"
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,4 +46,4 @@ tools() {
|
|||||||
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
|
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="3889077ed0fa07c702f2f7d01e97072faef3b0a3677b6ed8bab228bb8edcce46c78a2bcd8dd1e19f9c8624ca17e74dba66d11d07b756959e00751276fd959c23 libzip-1.3.1.tar.gz"
|
sha512sums="ade168e24150a7a3365813d49d6e6189248e1a5e82d73fc93936350e5be03f33357aea07d54f6560f2ea0ad1fef1ecd61c16e399b68dfb1879b0665364652feb libzip-1.4.0.tar.gz"
|
||||||
|
Loading…
Reference in New Issue
Block a user