wok view hp15c/receipt @ rev 16727

Add hp15c
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 03 00:22:55 2014 +0200 (2014-06-03)
parents
children 88f868615836
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 emulator
36 Exec=/usr/share/hp15c/HP-15C.sh
37 Icon=/usr/share/hp15c/HP-15C.gif
38 Terminal=false
39 Type=Application
40 Categories=Office;
41 EOT
42 }