wok view ntk/receipt @ rev 24740
updated libexif-gtk and libexif-gtk-dev (0.4.0 -> 0.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:07:05 2022 +0100 (2022-03-16) |
parents | b2cfd3d64931 |
children | 28a7087bc745 |
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 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - https://github.com/falkTX/ntk/tags 2>/dev/null | \
27 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./waf configure --prefix=/usr &&
34 ./waf build &&
35 ./waf install --destdir=${DESTDIR}
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }