wok-next view ntk/receipt @ rev 20820

Update Perl modules
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 13 23:41:47 2018 +0300 (2018-06-13)
parents c4e53a39395a
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ntk"
4 GITHASH="127328b00c3ceddebeeff6fac59f207a8469f6dc"
5 VERSION="${GITHASH:0:7}"
6 CATEGORY="x-window"
7 SHORT_DESC="Fork of FLTK 1.3.0 with additional functionality"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL"
10 WEB_SITE="http://non.tuxfamily.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://git.tuxfamily.org/non/fltk/?p=non/fltk.git;a=snapshot;h=$GITHASH;sf=tgz"
15 BUILD_DEPENDS_arm="xorg-libXft-dev cairo-dev jpeg-dev"
16 BUILD_DEPENDS="xorg-libXft-dev cairo-dev jpeg-dev git python"
17 SPLIT="ntk-dev"
19 compile_rules() {
20 ./waf configure --prefix=/usr &&
21 ./waf build &&
22 ./waf install --destdir=$DESTDIR
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 ntk)
28 copy @std
29 DEPENDS="xorg-libXft cairo jpeg"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="ntk cairo-dev xorg-libX11-dev xorg-libXft-dev"
34 ;;
35 esac
36 }