wok-next view ntk/receipt @ rev 18727
Up firefox-official(43.0.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 19 12:01:26 2015 +0200 (2015-12-19) |
parents | 04916c01e7c9 |
children | c4e53a39395a |
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 }