wok-6.x view hp15c/receipt @ rev 21346

updated libxklavier and libxklavier-dev again (5.0 -> 5.4)
author Hans-G?nter Theisgen
date Sat Apr 20 15:46:30 2019 +0100 (2019-04-20)
parents 5386dbd4c0b4
children d8c511e24c20
line source
1 # SliTaz package receipt.
3 PACKAGE="hp15c"
4 SOURCE="HP-15C"
5 VERSION="4.0.00"
6 CATEGORY="office"
7 SHORT_DESC="HP-15C emulator."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="http://hp-15c.homepage.t-online.de/content_web.htm"
11 TARBALL="${SOURCE}_${VERSION}_Source.zip"
12 WGET_URL="http://bit.ly/2FQ82VL"
14 DEPENDS="tk tcl"
15 BUILD_DEPENDS="wget"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/share/hp15c $fs/usr/share/applications \
21 $fs/usr/share/fonts/truetype/ttf-dejavu
22 cp -a $src/* $fs/usr/share/hp15c
23 sed -i 's|firefox|tazweb midori &|' \
24 $fs/usr/share/hp15c/HP-15C.tcl \
25 $fs/usr/share/hp15c/doc/preferences.htm
26 sed -i 's|url_open \$helpfile|url_open file:///$helpfile|' \
27 $fs/usr/share/hp15c/HP-15C.tcl
28 mv $fs/usr/share/hp15c/HP-15C_Simulator_Font.ttf \
29 $fs/usr/share/fonts/truetype/ttf-dejavu
30 cat > $fs/usr/share/hp15c/HP-15C.sh <<EOT
31 #!/bin/sh
33 cd /usr/share/hp15c
34 tclsh HP-15C.tcl
35 EOT
36 chmod +x $fs/usr/share/hp15c/HP-15C.sh
37 cat > $fs/usr/share/applications/hp15c.desktop <<EOT
38 [Desktop Entry]
39 Encoding=UTF-8
40 Name=HP-15C Calculator
41 Name[fr]=Calculatrice HP-15C
42 Name[pt]=Calculadora HP-15C
43 Exec=/usr/share/hp15c/HP-15C.sh
44 Icon=/usr/share/hp15c/HP-15C.gif
45 Terminal=false
46 Type=Application
47 Categories=Application;Utility;
48 EOT
49 }