wok rev 16727

Add hp15c
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 03 00:22:55 2014 +0200 (2014-06-03)
parents 1cfc9d2d0016
children 0878663ea676
files hp15c/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hp15c/receipt	Tue Jun 03 00:22:55 2014 +0200
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="hp15c"
     1.7 +SOURCE="HP-15C"
     1.8 +VERSION="3.3.00"
     1.9 +CATEGORY="office"
    1.10 +SHORT_DESC="HP-15C emulator."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL3"
    1.13 +WEB_SITE="http://hp-15c.homepage.t-online.de/content_web.htm"
    1.14 +TARBALL="${SOURCE}_${VERSION}_Source.zip"
    1.15 +WGET_URL="https://goo.gl/aHJxj4"
    1.16 +
    1.17 +DEPENDS="tk tcl"
    1.18 +BUILD_DEPENDS="wget"
    1.19 +
    1.20 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 +genpkg_rules()
    1.22 +{
    1.23 +	mkdir -p $fs/usr/share/hp15c $fs/usr/share/applications \
    1.24 +		 $fs/usr/share/fonts/truetype/ttf-dejavu
    1.25 +	cp -a $src/* $fs/usr/share/hp15c
    1.26 +	mv $fs/usr/share/hp15c/HP-15C_Simulator_Font.ttf \
    1.27 +	   $fs/usr/share/fonts/truetype/ttf-dejavu
    1.28 +	cat > $fs/usr/share/hp15c/HP-15C.sh <<EOT
    1.29 +#!/bin/sh
    1.30 +
    1.31 +cd /usr/share/hp15c
    1.32 +tclsh HP-15C.tcl
    1.33 +EOT
    1.34 +	chmod +x $fs/usr/share/hp15c/HP-15C.sh
    1.35 +	cat > $fs/usr/share/applications/hp15c.desktop <<EOT
    1.36 +[Desktop Entry]
    1.37 +Encoding=UTF-8
    1.38 +Name=HP-15C emulator
    1.39 +Exec=/usr/share/hp15c/HP-15C.sh
    1.40 +Icon=/usr/share/hp15c/HP-15C.gif
    1.41 +Terminal=false
    1.42 +Type=Application
    1.43 +Categories=Office;
    1.44 +EOT
    1.45 +}