wok-current diff tklauncher/receipt @ rev 20389

Add tklauncher
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 23 12:16:43 2018 +0200 (2018-06-23)
parents
children cb426389dd18
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tklauncher/receipt	Sat Jun 23 12:16:43 2018 +0200
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tklauncher"
     1.7 +VERSION="0.31"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="TkLauncher desktop launcher"
    1.10 +MAINTAINER="pasquale_frega@tiscali.it"
    1.11 +LICENSE="BSD"
    1.12 +WEB_SITE="http://web.tiscali.it/pas80/tklauncher.htm"
    1.13 +TAGS="amiwm AmiDock Amiga"
    1.14 +SUGGESTED="amiwm"
    1.15 +CONFIG_FILES="/etc/tklauncher"
    1.16 +
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 +WGET_URL="http://web.tiscali.it/pas80/$TARBALL"
    1.19 +
    1.20 +DEPENDS="tcl tk libtkimg"
    1.21 +BUILD_DEPENDS="tcl-dev tk-dev libtkimg-dev tcl2c"
    1.22 +
    1.23 +compile_rules() {
    1.24 +	sed -i 's|/usr/local|/usr|; s|8\.5|8.6|g' Makefile
    1.25 +
    1.26 +	tcl2c -o tklauncher.c tklauncher.tcl -tcl -tk &&
    1.27 +	make &&
    1.28 +	make INSTALLDIR=$install/usr install || return 1
    1.29 +
    1.30 +	chmod 755 $install/usr/lib/amiwm/TkLauncher # was 751
    1.31 +	mkdir -p $install/usr/share/doc
    1.32 +	cp README LICENSE $install/usr/share/doc
    1.33 +}
    1.34 +
    1.35 +genpkg_rules() {
    1.36 +	mkdir -p $fs/usr/share $fs/etc
    1.37 +	cp -a $install/usr/bin $install/usr/lib $fs/usr
    1.38 +	cp -a $install/usr/share/tklauncher $fs/etc
    1.39 +	ln -s /etc/tklauncher $fs/usr/share/tklauncher
    1.40 +}