wok view tklauncher/receipt @ rev 24586

updated gawk (5.0.1 -> 5.1.1)
author Hans-G?nter Theisgen
date Mon Feb 28 09:01:30 2022 +0100 (2022-02-28)
parents cb426389dd18
children 505d1daeed6c
line source
1 # SliTaz package receipt.
3 PACKAGE="tklauncher"
4 VERSION="0.32"
5 CATEGORY="x-window"
6 SHORT_DESC="TkLauncher desktop launcher"
7 MAINTAINER="pasquale_frega@tiscali.it"
8 LICENSE="BSD"
9 WEB_SITE="http://web.tiscali.it/pas80/tklauncher.htm"
10 TAGS="amiwm AmiDock Amiga"
11 SUGGESTED="amiwm"
12 CONFIG_FILES="/etc/tklauncher"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WGET_URL="http://web.tiscali.it/pas80/$TARBALL"
17 DEPENDS="tcl tk libtkimg"
18 BUILD_DEPENDS="tcl-dev tk-dev libtkimg-dev tcl2c"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/(v[0-9]/!d;s|.*v||;s|).*||;q'
25 }
27 compile_rules() {
28 sed -i 's|/usr/local|/usr|; s|8\.5|8.6|g' Makefile
30 tcl2c -o tklauncher.c tklauncher.tcl -tcl -tk &&
31 make &&
32 make INSTALLDIR=$install/usr install || return 1
34 chmod 755 $install/usr/lib/amiwm/TkLauncher # was 751
35 mkdir -p $install/usr/share/doc
36 cp README LICENSE $install/usr/share/doc
37 }
39 genpkg_rules() {
40 mkdir -p $fs/usr/share $fs/etc
41 cp -a $install/usr/bin $install/usr/lib $fs/usr
42 cp -a $install/usr/share/tklauncher $fs/etc
43 ln -s /etc/tklauncher $fs/usr/share/tklauncher
44 }