wok-current rev 20389

Add tklauncher
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 23 12:16:43 2018 +0200 (2018-06-23)
parents 32c2394f606d
children fb26906597c0
files tklauncher/description.txt tklauncher/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tklauncher/description.txt	Sat Jun 23 12:16:43 2018 +0200
     1.3 @@ -0,0 +1,2 @@
     1.4 +TkLauncher is a small desktop launcher similar to AmiDock. Developed in Tcl/Tk
     1.5 +and C it is mainly intended to be used with amiwm.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/tklauncher/receipt	Sat Jun 23 12:16:43 2018 +0200
     2.3 @@ -0,0 +1,37 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="tklauncher"
     2.7 +VERSION="0.31"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="TkLauncher desktop launcher"
    2.10 +MAINTAINER="pasquale_frega@tiscali.it"
    2.11 +LICENSE="BSD"
    2.12 +WEB_SITE="http://web.tiscali.it/pas80/tklauncher.htm"
    2.13 +TAGS="amiwm AmiDock Amiga"
    2.14 +SUGGESTED="amiwm"
    2.15 +CONFIG_FILES="/etc/tklauncher"
    2.16 +
    2.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 +WGET_URL="http://web.tiscali.it/pas80/$TARBALL"
    2.19 +
    2.20 +DEPENDS="tcl tk libtkimg"
    2.21 +BUILD_DEPENDS="tcl-dev tk-dev libtkimg-dev tcl2c"
    2.22 +
    2.23 +compile_rules() {
    2.24 +	sed -i 's|/usr/local|/usr|; s|8\.5|8.6|g' Makefile
    2.25 +
    2.26 +	tcl2c -o tklauncher.c tklauncher.tcl -tcl -tk &&
    2.27 +	make &&
    2.28 +	make INSTALLDIR=$install/usr install || return 1
    2.29 +
    2.30 +	chmod 755 $install/usr/lib/amiwm/TkLauncher # was 751
    2.31 +	mkdir -p $install/usr/share/doc
    2.32 +	cp README LICENSE $install/usr/share/doc
    2.33 +}
    2.34 +
    2.35 +genpkg_rules() {
    2.36 +	mkdir -p $fs/usr/share $fs/etc
    2.37 +	cp -a $install/usr/bin $install/usr/lib $fs/usr
    2.38 +	cp -a $install/usr/share/tklauncher $fs/etc
    2.39 +	ln -s /etc/tklauncher $fs/usr/share/tklauncher
    2.40 +}