wok-next annotate libzip/receipt @ rev 19893

Up: gpicview, harfbuzz, libfm-extra, libfm, libwmf, libxklavier, libxml++, libzip, lxappearance, lxlauncher, lxrandr, lxtask, pcmanfm, xarchiver; add: lxhotkey, webkit2gtk, webkitgtk.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 11 21:43:20 2017 +0300 (2017-10-11)
parents 4a1a5d881605
children bd4c82b1d1de
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/"
pankso@16066 10 HOST_ARCH="i486 arm"
pascal@12805 11
al@19893 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19893 13 WGET_URL="https://nih.at/libzip/$TARBALL"
al@19893 14
al@19893 15 BUILD_DEPENDS="zlib-dev coreutils-conditions bzip2-dev perl"
al@19893 16 SPLIT="libzip-dev"
pascal@12805 17
pascal@12805 18 # Rules to configure and make the package.
pascal@12805 19 compile_rules()
pascal@12805 20 {
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 }