wok-current view ntk/receipt @ rev 24487

updated dkms (2.8.1 -> 3.0.3)
author Hans-G?nter Theisgen
date Fri Feb 18 17:08:02 2022 +0100 (2022-02-18)
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 }