wok-next annotate 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 |
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@19893 | 9 WEB_SITE="https://nih.at/libzip/" |
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@19893 | 15 SPLIT="libzip-dev" |
pascal@12805 | 16 |
pascal@12805 | 17 # Rules to configure and make the package. |
pascal@12805 | 18 compile_rules() |
pascal@12805 | 19 { |
al@19896 | 20 export MKDIRPROG='mkdir -p' |
al@19893 | 21 ./configure $CONFIGURE_ARGS && make && make install |
pascal@12805 | 22 } |
pascal@12805 | 23 |
pascal@12805 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12805 | 25 genpkg_rules() |
pascal@12805 | 26 { |
al@19893 | 27 case $PACKAGE in |
al@19893 | 28 libzip) |
al@19893 | 29 copy @std |
al@19893 | 30 DEPENDS="bzlib 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 } |