wok-next annotate libzip/receipt @ rev 21370
updated minidlna (1.1.4 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 09:58:07 2020 +0100 (2020-04-16) |
parents | d457c4e37c1b |
children |
rev | line source |
---|---|
al@19893 | 1 # SliTaz package receipt v2. |
pascal@12805 | 2 |
pascal@12805 | 3 PACKAGE="libzip" |
al@19893 | 4 VERSION="1.3.0" |
pascal@12805 | 5 CATEGORY="misc" |
al@19893 | 6 SHORT_DESC="C library for reading, creating, and modifying zip archives" |
pascal@12805 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15482 | 8 LICENSE="BSD" |
al@21041 | 9 WEB_SITE="https://libzip.org/" |
pascal@12805 | 10 |
al@19893 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19893 | 12 WGET_URL="https://nih.at/libzip/$TARBALL" |
al@19893 | 13 |
al@19893 | 14 BUILD_DEPENDS="zlib-dev coreutils-conditions bzip2-dev perl" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@12805 | 16 |
al@20595 | 17 compile_rules() { |
al@19896 | 18 export MKDIRPROG='mkdir -p' |
al@20595 | 19 |
al@20595 | 20 ./configure $CONFIGURE_ARGS && |
al@20595 | 21 fix libtool && |
al@20595 | 22 make && |
al@20595 | 23 make install |
pascal@12805 | 24 } |
pascal@12805 | 25 |
al@20595 | 26 genpkg_rules() { |
al@19893 | 27 case $PACKAGE in |
al@19893 | 28 libzip) |
al@19893 | 29 copy @std |
al@21105 | 30 DEPENDS="libbzip2 zlib" |
al@19893 | 31 ;; |
al@19893 | 32 *-dev) |
al@19893 | 33 copy @dev |
al@19893 | 34 DEPENDS="libzip bzip2-dev zlib-dev" |
al@19893 | 35 ;; |
al@19893 | 36 esac |
pascal@12805 | 37 } |