wok view ntk/receipt @ rev 25125
updated apache-mod-wsgi (4.6.5 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:29:10 2022 +0100 (2022-06-28) |
parents | b7f1bd1b9ac7 |
children | f2b4a9eb8bdd |
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="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 }