wok-next view libzip/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d457c4e37c1b
children
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://libzip.org/"
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="libbzip2 zlib"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="libzip bzip2-dev zlib-dev"
35 ;;
36 esac
37 }