wok-next annotate libjte/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | df20b2110f7e |
children | 82b613cfd1e0 |
rev | line source |
---|---|
al@19910 | 1 # SliTaz package receipt v2. |
al@19910 | 2 |
al@19910 | 3 PACKAGE="libjte" |
al@19910 | 4 VERSION="1.20" |
al@19910 | 5 CATEGORY="utilities" |
al@19910 | 6 SHORT_DESC="Jigdo Template Export library" |
al@19910 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20883 | 8 LICENSE="GPL2" |
al@19910 | 9 WEB_SITE="http://www.einval.com/~steve/software/JTE/" |
al@20883 | 10 REPOLOGY="jigit" |
al@19910 | 11 |
al@19910 | 12 TARBALL="jigit_$VERSION.orig.tar.gz" |
al@19910 | 13 WGET_URL="http://www.einval.com/~steve/software/JTE/download/$TARBALL" |
al@19910 | 14 |
al@19910 | 15 BUILD_DEPENDS="zlib-dev bzip2-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
al@19910 | 17 |
al@19910 | 18 compile_rules() { |
al@19910 | 19 make && |
al@19910 | 20 make -C libjte install || return 1 |
al@19910 | 21 |
al@19910 | 22 cook_pick_manpages *.1 *.8 |
al@19910 | 23 } |
al@19910 | 24 |
al@19910 | 25 genpkg_rules() { |
al@19910 | 26 case $PACKAGE in |
al@19910 | 27 libjte) |
al@19910 | 28 copy @std |
al@19910 | 29 DEPENDS="bzlib zlib" |
al@19910 | 30 ;; |
al@19910 | 31 *-dev) |
al@19910 | 32 copy @dev |
al@19910 | 33 DEPENDS="libjte bzip2-dev zlib-dev" |
al@19910 | 34 ;; |
al@19910 | 35 esac |
al@19910 | 36 } |