wok annotate ntk/receipt @ rev 20343

git update: 2.3.0 (2015 Feb) -> 2.17.1 (2018 May)
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Jun 08 10:00:34 2018 +0000 (2018-06-08)
parents 04916c01e7c9
children b7f1bd1b9ac7
rev   line source
pankso@16378 1 # SliTaz package receipt.
pankso@16378 2
pankso@16378 3 PACKAGE="ntk"
pascal@16389 4 GITHASH="127328b00c3ceddebeeff6fac59f207a8469f6dc"
pascal@16389 5 VERSION="${GITHASH:0:7}"
pankso@16378 6 CATEGORY="x-window"
pankso@16378 7 SHORT_DESC="Fork of FLTK 1.3.0 with additional functionality."
pankso@16378 8 MAINTAINER="pankso@slitaz.org"
pankso@16378 9 LICENSE="LGPL"
pascal@16389 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16378 11 WEB_SITE="http://non.tuxfamily.org/"
pascal@16389 12 WGET_URL="http://git.tuxfamily.org/non/fltk/?p=non/fltk.git;a=snapshot;h=$GITHASH;sf=tgz"
pankso@16378 13 #HOST_ARCH="i486 arm"
pankso@16378 14
pankso@16378 15 DEPENDS="xorg-libXft cairo jpeg"
pankso@16378 16 BUILD_DEPENDS="xorg-libXft-dev cairo-dev jpeg-dev"
pankso@16378 17
pankso@16378 18 # Handle cross compilation
pankso@16378 19 case "$ARCH" in
pankso@16378 20 i?86) BUILD_DEPENDS="$BUILD_DEPENDS git python"
pankso@16378 21 esac
pankso@16378 22
pankso@16378 23 # Rules to configure and make the package.
pankso@16378 24 compile_rules()
pankso@16378 25 {
pankso@16378 26 ./waf configure --prefix=/usr &&
pankso@16378 27 ./waf build &&
pankso@16378 28 ./waf install --destdir=${DESTDIR}
pankso@16378 29 }
pankso@16378 30
pankso@16378 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16378 32 genpkg_rules()
pankso@16378 33 {
pankso@16378 34 mkdir -p $fs/usr $fs/usr/lib
pankso@16378 35 cp -a $install/usr/bin $fs/usr
pankso@16378 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@16378 37 }