wok-next view libzip/receipt @ rev 20829
gmtk, gnome-mplayer: provide both GTK2 and GTK3 support; remove marlin: project abandoned since 2013, compilation stops with errors, no patches available...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 14 16:46:40 2018 +0300 (2018-06-14) |
parents | c4e53a39395a |
children | d5aab818505e |
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 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 }