wok annotate tklauncher/receipt @ rev 24995

updated nginx and nginx-extras (1.19.0 -> 1.21.6)
author Hans-G?nter Theisgen
date Mon May 16 10:04:06 2022 +0100 (2022-05-16)
parents cb426389dd18
children 505d1daeed6c
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@24462 20 # What is the latest version available today?
pascal@24462 21 current_version()
pascal@24462 22 {
pascal@24462 23 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24462 24 sed '/(v[0-9]/!d;s|.*v||;s|).*||;q'
pascal@24462 25 }
pascal@24462 26
pascal@20389 27 compile_rules() {
pascal@20389 28 sed -i 's|/usr/local|/usr|; s|8\.5|8.6|g' Makefile
pascal@20389 29
pascal@20389 30 tcl2c -o tklauncher.c tklauncher.tcl -tcl -tk &&
pascal@20389 31 make &&
pascal@20389 32 make INSTALLDIR=$install/usr install || return 1
pascal@20389 33
pascal@20389 34 chmod 755 $install/usr/lib/amiwm/TkLauncher # was 751
pascal@20389 35 mkdir -p $install/usr/share/doc
pascal@20389 36 cp README LICENSE $install/usr/share/doc
pascal@20389 37 }
pascal@20389 38
pascal@20389 39 genpkg_rules() {
pascal@20389 40 mkdir -p $fs/usr/share $fs/etc
pascal@20389 41 cp -a $install/usr/bin $install/usr/lib $fs/usr
pascal@20389 42 cp -a $install/usr/share/tklauncher $fs/etc
pascal@20389 43 ln -s /etc/tklauncher $fs/usr/share/tklauncher
pascal@20389 44 }