wok-next view libzip/receipt @ rev 20351

nss_ldap: add glibc-2.16.patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 18 22:23:47 2017 +0100 (2017-11-18)
parents 60bd4df08f57
children c4e53a39395a
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://nih.at/libzip/$TARBALL"
15 BUILD_DEPENDS="zlib-dev coreutils-conditions bzip2-dev perl"
16 SPLIT="libzip-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export MKDIRPROG='mkdir -p'
22 ./configure $CONFIGURE_ARGS && make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 libzip)
30 copy @std
31 DEPENDS="bzlib zlib"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libzip bzip2-dev zlib-dev"
36 ;;
37 esac
38 }