wok annotate tklauncher/receipt @ rev 25181
Up perl-log-log4perl (1.55)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 09 08:28:32 2022 +0000 (2022-07-09) |
parents | 505d1daeed6c |
children |
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@25031 | 9 WEB_SITE="https://wiki.tcl-lang.org/page/TkLauncher" |
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@25026 | 15 WGET_URL="https://download-mirror.savannah.gnu.org/releases/$PACKAGE/$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@25031 | 23 wget -O - http://web.tiscali.it/pas80/tklauncher.htm 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 } |