wok-next view hp15c/receipt @ rev 20573
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 17:21:19 2018 +0300 (2018-04-13) |
parents | f12570b5276d |
children | d5aab818505e |
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 }