wok-next view libzip/receipt @ rev 20577
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 03:34:33 2018 +0300 (2018-04-14) |
parents | bd4c82b1d1de |
children | 5841522533ec |
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="libzip-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export MKDIRPROG='mkdir -p'
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
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 }