wok annotate tklauncher/receipt @ rev 22434

Add sshrc (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 21 12:20:01 2019 +0100 (2019-12-21)
parents de4496326d61
children 934055de50e2
rev   line source
pascal@20389 1 # SliTaz package receipt.
pascal@20389 2
pascal@20389 3 PACKAGE="tklauncher"
pascal@20397 4 VERSION="0.32"
pascal@20389 5 CATEGORY="x-window"
pascal@20389 6 SHORT_DESC="TkLauncher desktop launcher"
pascal@20389 7 MAINTAINER="pasquale_frega@tiscali.it"
pascal@20389 8 LICENSE="BSD"
pascal@20389 9 WEB_SITE="http://web.tiscali.it/pas80/tklauncher.htm"
pascal@20389 10 TAGS="amiwm AmiDock Amiga"
pascal@20389 11 SUGGESTED="amiwm"
pascal@20389 12 CONFIG_FILES="/etc/tklauncher"
pascal@20389 13
pascal@20389 14 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20389 15 WGET_URL="http://web.tiscali.it/pas80/$TARBALL"
pascal@20389 16
pascal@20389 17 DEPENDS="tcl tk libtkimg"
pascal@20389 18 BUILD_DEPENDS="tcl-dev tk-dev libtkimg-dev tcl2c"
pascal@20389 19
pascal@20389 20 compile_rules() {
pascal@20389 21 sed -i 's|/usr/local|/usr|; s|8\.5|8.6|g' Makefile
pascal@20389 22
pascal@20389 23 tcl2c -o tklauncher.c tklauncher.tcl -tcl -tk &&
pascal@20389 24 make &&
pascal@20389 25 make INSTALLDIR=$install/usr install || return 1
pascal@20389 26
pascal@20389 27 chmod 755 $install/usr/lib/amiwm/TkLauncher # was 751
pascal@20389 28 mkdir -p $install/usr/share/doc
pascal@20389 29 cp README LICENSE $install/usr/share/doc
pascal@20389 30 }
pascal@20389 31
pascal@20389 32 genpkg_rules() {
pascal@20389 33 mkdir -p $fs/usr/share $fs/etc
pascal@20389 34 cp -a $install/usr/bin $install/usr/lib $fs/usr
pascal@20389 35 cp -a $install/usr/share/tklauncher $fs/etc
pascal@20389 36 ln -s /etc/tklauncher $fs/usr/share/tklauncher
pascal@20389 37 }