wok-next view tklauncher/receipt @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents fd4410383bce
children 41ecc518f630
line source
1 # SliTaz package receipt v2.
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"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://web.tiscali.it/pas80/$TARBALL"
14 BUILD_DEPENDS="tcl-dev tk-dev libtkimg-dev tcl2c tcl2c-fork"
15 SPLIT="tklauncher-alt:alt"
17 compile_rules() {
18 case $SET in
19 '') tcl2c='tcl2c';;
20 alt) tcl2c='tcl2cf';;
21 esac
23 sed -i 's|/usr/local|/usr|; s|8\.5|8.6|g' Makefile
25 $tcl2c -o tklauncher.c tklauncher.tcl -tcl -tk &&
26 make &&
27 make INSTALLDIR=$install/usr install || return 1
29 chmod 755 $install/usr/lib/amiwm/TkLauncher # was 751
30 cook_pick_docs README LICENSE
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 tklauncher-alt) CAT="x-window|using tcl2c fork";;
36 esac
38 copy @std
39 DEPENDS="tcl tk libtkimg"
40 SUGGESTED="amiwm"
41 CONFIG_FILES="/usr/share/tklauncher/tklauncherrc"
42 TAGS="amiwm AmiDock Amiga"
43 }