summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-24 04:24:13 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-24 04:24:13 -0500
commit991a7bad0ff86bdc66729b3fb56de75ec3eb7bc6 (patch)
tree3530f7023a0b71227794b37a339b6cd54c27d342 /user
parent6ae3c40a079eb9e722eed4967091423814f2e1ef (diff)
downloadpackages-991a7bad0ff86bdc66729b3fb56de75ec3eb7bc6.tar.gz
packages-991a7bad0ff86bdc66729b3fb56de75ec3eb7bc6.tar.bz2
packages-991a7bad0ff86bdc66729b3fb56de75ec3eb7bc6.tar.xz
packages-991a7bad0ff86bdc66729b3fb56de75ec3eb7bc6.zip
user/libzip: modernise, fix URLs, OpenSSL
Diffstat (limited to 'user')
-rw-r--r--user/libzip/APKBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/user/libzip/APKBUILD b/user/libzip/APKBUILD
index 76b7a2ad8..32f0a956c 100644
--- a/user/libzip/APKBUILD
+++ b/user/libzip/APKBUILD
@@ -4,16 +4,15 @@
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=libzip
pkgver=1.5.1
-pkgrel=1
-pkgdesc="C library for manipulating zip archives"
-url="http://www.nih.at/libzip/index.html"
+pkgrel=2
+pkgdesc="C library for manipulating ZIP archives"
+url="https://libzip.org/"
arch="all"
license="BSD-3-Clause"
depends_dev="zlib-dev"
-makedepends="$depends_dev cmake libressl-dev perl"
+makedepends="$depends_dev cmake openssl-dev perl"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
-source="https://www.nih.at/libzip/$pkgname-$pkgver.tar.xz"
-builddir="$srcdir/$pkgname-$pkgver"
+source="https://libzip.org/download/$pkgname-$pkgver.tar.xz"
# secfixes:
# 1.3.0:
@@ -25,7 +24,7 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS"
make