wok-next view ntk/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
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="devel@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="libxft-dev cairo-dev jpeg-dev git python"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./waf configure --prefix=/usr &&
20 ./waf build &&
21 ./waf install --destdir=$install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 ntk)
27 copy @std
28 DEPENDS="libxft libcairo jpeg"
29 ;;
30 *-dev)
31 copy @dev
32 DEPENDS="ntk cairo-dev libx11-dev libxft-dev"
33 ;;
34 esac
35 }