wok-6.x annotate 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 |
rev | line source |
---|---|
pascal@16727 | 1 # SliTaz package receipt. |
pascal@16727 | 2 |
pascal@16727 | 3 PACKAGE="hp15c" |
pascal@16727 | 4 SOURCE="HP-15C" |
pascal@16727 | 5 VERSION="3.3.00" |
pascal@16727 | 6 CATEGORY="office" |
pascal@16727 | 7 SHORT_DESC="HP-15C emulator." |
pascal@16727 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16727 | 9 LICENSE="GPL3" |
pascal@16727 | 10 WEB_SITE="http://hp-15c.homepage.t-online.de/content_web.htm" |
pascal@16727 | 11 TARBALL="${SOURCE}_${VERSION}_Source.zip" |
pascal@16727 | 12 WGET_URL="https://goo.gl/aHJxj4" |
pascal@16727 | 13 |
pascal@16727 | 14 DEPENDS="tk tcl" |
pascal@16727 | 15 BUILD_DEPENDS="wget" |
pascal@16727 | 16 |
pascal@16727 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16727 | 18 genpkg_rules() |
pascal@16727 | 19 { |
pascal@16727 | 20 mkdir -p $fs/usr/share/hp15c $fs/usr/share/applications \ |
pascal@16727 | 21 $fs/usr/share/fonts/truetype/ttf-dejavu |
pascal@16727 | 22 cp -a $src/* $fs/usr/share/hp15c |
pascal@16727 | 23 mv $fs/usr/share/hp15c/HP-15C_Simulator_Font.ttf \ |
pascal@16727 | 24 $fs/usr/share/fonts/truetype/ttf-dejavu |
pascal@16727 | 25 cat > $fs/usr/share/hp15c/HP-15C.sh <<EOT |
pascal@16727 | 26 #!/bin/sh |
pascal@16727 | 27 |
pascal@16727 | 28 cd /usr/share/hp15c |
pascal@16727 | 29 tclsh HP-15C.tcl |
pascal@16727 | 30 EOT |
pascal@16727 | 31 chmod +x $fs/usr/share/hp15c/HP-15C.sh |
pascal@16727 | 32 cat > $fs/usr/share/applications/hp15c.desktop <<EOT |
pascal@16727 | 33 [Desktop Entry] |
pascal@16727 | 34 Encoding=UTF-8 |
pascal@16727 | 35 Name=HP-15C emulator |
pascal@16727 | 36 Exec=/usr/share/hp15c/HP-15C.sh |
pascal@16727 | 37 Icon=/usr/share/hp15c/HP-15C.gif |
pascal@16727 | 38 Terminal=false |
pascal@16727 | 39 Type=Application |
pascal@16727 | 40 Categories=Office; |
pascal@16727 | 41 EOT |
pascal@16727 | 42 } |