wok-next diff ntk/receipt @ rev 20657

Up openjpeg2 (2.3.0), pciutils (3.5.6), pcre (8.41), pcre2 (10.31), pinentry (1.1.0), sakura (3.6.0), vte (0.50.2); add openobex, pax.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 05 16:03:34 2018 +0300 (2018-05-05)
parents c4e53a39395a
children d5aab818505e
line diff
     1.1 --- a/ntk/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/ntk/receipt	Sat May 05 16:03:34 2018 +0300
     1.3 @@ -1,36 +1,36 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ntk"
     1.8  GITHASH="127328b00c3ceddebeeff6fac59f207a8469f6dc"
     1.9  VERSION="${GITHASH:0:7}"
    1.10  CATEGORY="x-window"
    1.11 -SHORT_DESC="Fork of FLTK 1.3.0 with additional functionality."
    1.12 +SHORT_DESC="Fork of FLTK 1.3.0 with additional functionality"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="LGPL"
    1.15 +WEB_SITE="http://non.tuxfamily.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://non.tuxfamily.org/"
    1.19  WGET_URL="http://git.tuxfamily.org/non/fltk/?p=non/fltk.git;a=snapshot;h=$GITHASH;sf=tgz"
    1.20  
    1.21 -DEPENDS="xorg-libXft cairo jpeg"
    1.22 -BUILD_DEPENDS="xorg-libXft-dev cairo-dev jpeg-dev"
    1.23 +BUILD_DEPENDS_arm="xorg-libXft-dev cairo-dev jpeg-dev"
    1.24 +BUILD_DEPENDS="xorg-libXft-dev cairo-dev jpeg-dev git python"
    1.25 +SPLIT="ntk-dev"
    1.26  
    1.27 -# Handle cross compilation
    1.28 -case "$ARCH" in
    1.29 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS git python"
    1.30 -esac
    1.31 -
    1.32 -# Rules to configure and make the package.
    1.33 -compile_rules()
    1.34 -{
    1.35 +compile_rules() {
    1.36  	./waf configure --prefix=/usr &&
    1.37 -	./waf build && 
    1.38 -	./waf install --destdir=${DESTDIR}
    1.39 +	./waf build &&
    1.40 +	./waf install --destdir=$DESTDIR
    1.41  }
    1.42  
    1.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 -genpkg_rules()
    1.45 -{
    1.46 -	mkdir -p $fs/usr $fs/usr/lib
    1.47 -	cp -a $install/usr/bin $fs/usr
    1.48 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.49 +genpkg_rules() {
    1.50 +	case $PACKAGE in
    1.51 +		ntk)
    1.52 +			copy @std
    1.53 +			DEPENDS="xorg-libXft cairo jpeg"
    1.54 +			;;
    1.55 +		*-dev)
    1.56 +			copy @dev
    1.57 +			DEPENDS="ntk cairo-dev xorg-libX11-dev xorg-libXft-dev"
    1.58 +			;;
    1.59 +	esac
    1.60  }