wok-next view libjte/receipt @ rev 21105

Small updates... "bzip2" and "cairo": follow "libpkg - pkg - pkg-dev" rule
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 04 17:29:48 2019 +0200 (2019-01-04)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libjte"
4 VERSION="1.20"
5 CATEGORY="utilities"
6 SHORT_DESC="Jigdo Template Export library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.einval.com/~steve/software/JTE/"
10 REPOLOGY="jigit"
12 TARBALL="jigit_$VERSION.orig.tar.gz"
13 WGET_URL="http://www.einval.com/~steve/software/JTE/download/$TARBALL"
15 BUILD_DEPENDS="zlib-dev bzip2-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 make &&
20 make -C libjte install || return 1
22 cook_pick_manpages *.1 *.8
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libjte)
28 copy @std
29 DEPENDS="libbzip2 zlib"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="libjte bzip2-dev zlib-dev"
34 ;;
35 esac
36 }