wok view tklauncher/receipt @ rev 22102
Add python-attr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 01 15:22:59 2019 +0100 (2019-11-01) |
parents | de4496326d61 |
children | 934055de50e2 |
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 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 }