wok-next view libzip/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 5841522533ec |
children | d457c4e37c1b |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libzip"
4 VERSION="1.3.0"
5 CATEGORY="misc"
6 SHORT_DESC="C library for reading, creating, and modifying zip archives"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://nih.at/libzip/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://nih.at/libzip/$TARBALL"
14 BUILD_DEPENDS="zlib-dev coreutils-conditions bzip2-dev perl"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 export MKDIRPROG='mkdir -p'
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libzip)
29 copy @std
30 DEPENDS="bzlib zlib"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="libzip bzip2-dev zlib-dev"
35 ;;
36 esac
37 }