wok view 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 source
1 # SliTaz package receipt.
3 PACKAGE="tklauncher"
4 VERSION="0.31"
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 compile_rules() {
21 sed -i 's|/usr/local|/usr|; s|8\.5|8.6|g' Makefile
23 tcl2c -o tklauncher.c tklauncher.tcl -tcl -tk &&
24 make &&
25 make INSTALLDIR=$install/usr install || return 1
27 chmod 755 $install/usr/lib/amiwm/TkLauncher # was 751
28 mkdir -p $install/usr/share/doc
29 cp README LICENSE $install/usr/share/doc
30 }
32 genpkg_rules() {
33 mkdir -p $fs/usr/share $fs/etc
34 cp -a $install/usr/bin $install/usr/lib $fs/usr
35 cp -a $install/usr/share/tklauncher $fs/etc
36 ln -s /etc/tklauncher $fs/usr/share/tklauncher
37 }