wok view ntk/receipt @ rev 20418
Up rsync (3.1.3), perl-file-rsync (0.74), lsyncd (2.2.3), kexec-tools (2.0.17), chkrootkit (0.52), brotli (1.0.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 05 21:16:06 2018 +0200 (2018-08-05) |
parents | 04916c01e7c9 |
children | b7f1bd1b9ac7 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://non.tuxfamily.org/"
12 WGET_URL="http://git.tuxfamily.org/non/fltk/?p=non/fltk.git;a=snapshot;h=$GITHASH;sf=tgz"
13 #HOST_ARCH="i486 arm"
15 DEPENDS="xorg-libXft cairo jpeg"
16 BUILD_DEPENDS="xorg-libXft-dev cairo-dev jpeg-dev"
18 # Handle cross compilation
19 case "$ARCH" in
20 i?86) BUILD_DEPENDS="$BUILD_DEPENDS git python"
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./waf configure --prefix=/usr &&
27 ./waf build &&
28 ./waf install --destdir=${DESTDIR}
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }