wok-current view hp15c/receipt @ rev 19194

Add: EtherApe. A graphical network monitor for SliTaz.
author Leonardo Laporte <hackdorte@sapo.pt>
date Mon Jun 06 09:08:05 2016 -0300 (2016-06-06)
parents f12570b5276d
children 5386dbd4c0b4
line source
1 # SliTaz package receipt.
3 PACKAGE="hp15c"
4 SOURCE="HP-15C"
5 VERSION="3.3.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="https://goo.gl/aHJxj4"
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 }