wok-6.x view hp15c/receipt @ rev 20299
Up hp15c (4.0.00)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 03 15:14:01 2018 +0200 (2018-05-03) |
parents | 88f868615836 |
children | 19ad77dc1d71 |
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 mv $fs/usr/share/hp15c/HP-15C_Simulator_Font.ttf \
24 $fs/usr/share/fonts/truetype/ttf-dejavu
25 cat > $fs/usr/share/hp15c/HP-15C.sh <<EOT
26 #!/bin/sh
28 cd /usr/share/hp15c
29 tclsh HP-15C.tcl
30 EOT
31 chmod +x $fs/usr/share/hp15c/HP-15C.sh
32 cat > $fs/usr/share/applications/hp15c.desktop <<EOT
33 [Desktop Entry]
34 Encoding=UTF-8
35 Name=HP-15C Calculator
36 Name[fr]=Calculatrice HP-15C
37 Name[pt]=Calculadora HP-15C
38 Exec=/usr/share/hp15c/HP-15C.sh
39 Icon=/usr/share/hp15c/HP-15C.gif
40 Terminal=false
41 Type=Application
42 Categories=Application;Utility;
43 EOT
44 }