wok view ntk/receipt @ rev 25598

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 12:03:07 2023 +0000 (17 months ago)
parents 28a7087bc745
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ntk"
4 VERSION="1.3.1001"
5 CATEGORY="x-window"
6 SHORT_DESC="Fork of FLTK 1.3.0 with additional functionality."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20230627102029/http://non.tuxfamily.org/"
11 WGET_URL="https://github.com/falkTX/ntk/archive/refs/tags/v$VERSION.tar.gz"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="xorg-libXft cairo jpeg"
15 BUILD_DEPENDS="xorg-libXft-dev cairo-dev jpeg-dev"
17 # Handle cross compilation
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS git python"
20 esac
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://github.com/falkTX/ntk/tags 2>/dev/null | \
26 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./waf configure --prefix=/usr &&
33 ./waf build &&
34 ./waf install --destdir=${DESTDIR}
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }