wok-next rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents fd4410383bce
children b7e296230dd7
files neofetch/receipt tcl2c-fork/receipt tcl2c/receipt tklauncher/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/neofetch/receipt	Sat Jun 23 09:45:42 2018 +0300
     1.3 @@ -0,0 +1,22 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="neofetch"
     1.7 +VERSION="5.0.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="A command-line system information tool written in BASH 3.2+"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://github.com/dylanaraps/neofetch"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/dylanaraps/neofetch/archive/$VERSION.tar.gz"
    1.16 +
    1.17 +compile_rules() {
    1.18 +	make &&
    1.19 +	make install
    1.20 +}
    1.21 +
    1.22 +genpkg_rules() {
    1.23 +	copy @std
    1.24 +	DEPENDS="bash"
    1.25 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/tcl2c-fork/receipt	Sat Jun 23 09:45:42 2018 +0300
     2.3 @@ -0,0 +1,26 @@
     2.4 +# SliTaz package receipt v2.
     2.5 +
     2.6 +PACKAGE="tcl2c-fork"
     2.7 +VERSION="2016.5"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Create a C file from Tcl file for C compiler (Pasquale Frega fork)"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="http://web.tiscali.it/pas80/tklauncher.htm"
    2.13 +
    2.14 +TARBALL="$PACKAGE.$VERSION.tar.gz"
    2.15 +WGET_URL="http://web.tiscali.it/pas80/tcl2c.tar.gz"
    2.16 +
    2.17 +BUILD_DEPENDS="tcl-dev"
    2.18 +
    2.19 +compile_rules() {
    2.20 +	sed -i 's|8\.5|8.6|' Makefile
    2.21 +
    2.22 +	make &&
    2.23 +	install -Dm755 tcl2c $install/usr/bin/tcl2cf
    2.24 +}
    2.25 +
    2.26 +genpkg_rules() {
    2.27 +	copy @std
    2.28 +	DEPENDS="tcl"
    2.29 +}
     3.1 --- a/tcl2c/receipt	Fri Jun 22 20:40:27 2018 +0300
     3.2 +++ b/tcl2c/receipt	Sat Jun 23 09:45:42 2018 +0300
     3.3 @@ -1,4 +1,4 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="tcl2c"
     3.8  VERSION="2016.4"
     4.1 --- a/tklauncher/receipt	Fri Jun 22 20:40:27 2018 +0300
     4.2 +++ b/tklauncher/receipt	Sat Jun 23 09:45:42 2018 +0300
     4.3 @@ -1,4 +1,4 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="tklauncher"
     4.8  VERSION="0.31"
     4.9 @@ -11,13 +11,18 @@
    4.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.11  WGET_URL="http://web.tiscali.it/pas80/$TARBALL"
    4.12  
    4.13 -BUILD_DEPENDS="tcl tk libtkimg tcl-dev tk-dev libtkimg-dev"
    4.14 -BUILD_DEPENDS="tcl-dev tk-dev libtkimg-dev tcl2c"
    4.15 +BUILD_DEPENDS="tcl-dev tk-dev libtkimg-dev tcl2c tcl2c-fork"
    4.16 +SPLIT="tklauncher-alt:alt"
    4.17  
    4.18  compile_rules() {
    4.19 +	case $SET in
    4.20 +		'')  tcl2c='tcl2c';;
    4.21 +		alt) tcl2c='tcl2cf';;
    4.22 +	esac
    4.23 +
    4.24  	sed -i 's|/usr/local|/usr|; s|8\.5|8.6|g' Makefile
    4.25  
    4.26 -	tcl2c -o tklauncher.c tklauncher.tcl -tcl -tk &&
    4.27 +	$tcl2c -o tklauncher.c tklauncher.tcl -tcl -tk &&
    4.28  	make &&
    4.29  	make INSTALLDIR=$install/usr install || return 1
    4.30  
    4.31 @@ -26,6 +31,10 @@
    4.32  }
    4.33  
    4.34  genpkg_rules() {
    4.35 +	case $PACKAGE in
    4.36 +		tklauncher-alt) CAT="x-window|using tcl2c fork";;
    4.37 +	esac
    4.38 +
    4.39  	copy @std
    4.40  	DEPENDS="tcl tk   libtkimg"
    4.41  	SUGGESTED="amiwm"