wok-next annotate tklauncher/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 41ecc518f630 |
children |
rev | line source |
---|---|
al@20845 | 1 # SliTaz package receipt v2. |
al@20844 | 2 |
al@20844 | 3 PACKAGE="tklauncher" |
erkan@20857 | 4 VERSION="0.32" |
al@20844 | 5 CATEGORY="x-window" |
al@20844 | 6 SHORT_DESC="TkLauncher desktop launcher" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
al@20844 | 8 LICENSE="BSD" |
al@20844 | 9 WEB_SITE="http://web.tiscali.it/pas80/tklauncher.htm" |
al@20844 | 10 |
al@20844 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20844 | 12 WGET_URL="http://web.tiscali.it/pas80/$TARBALL" |
al@20844 | 13 |
al@20845 | 14 BUILD_DEPENDS="tcl-dev tk-dev libtkimg-dev tcl2c tcl2c-fork" |
al@21020 | 15 SPLIT="$PACKAGE-alt:alt" |
al@20844 | 16 |
al@20844 | 17 compile_rules() { |
al@20845 | 18 case $SET in |
al@20845 | 19 '') tcl2c='tcl2c';; |
al@20845 | 20 alt) tcl2c='tcl2cf';; |
al@20845 | 21 esac |
al@20845 | 22 |
al@20844 | 23 sed -i 's|/usr/local|/usr|; s|8\.5|8.6|g' Makefile |
al@20844 | 24 |
al@20845 | 25 $tcl2c -o tklauncher.c tklauncher.tcl -tcl -tk && |
al@20844 | 26 make && |
al@20844 | 27 make INSTALLDIR=$install/usr install || return 1 |
al@20844 | 28 |
al@20844 | 29 chmod 755 $install/usr/lib/amiwm/TkLauncher # was 751 |
al@20844 | 30 cook_pick_docs README LICENSE |
al@20844 | 31 } |
al@20844 | 32 |
al@20844 | 33 genpkg_rules() { |
al@20845 | 34 case $PACKAGE in |
al@20845 | 35 tklauncher-alt) CAT="x-window|using tcl2c fork";; |
al@20845 | 36 esac |
al@20845 | 37 |
al@20844 | 38 copy @std |
al@20844 | 39 DEPENDS="tcl tk libtkimg" |
al@20844 | 40 SUGGESTED="amiwm" |
al@20844 | 41 CONFIG_FILES="/usr/share/tklauncher/tklauncherrc" |
al@20844 | 42 TAGS="amiwm AmiDock Amiga" |
al@20844 | 43 } |