wok-6.x annotate hp15c/receipt @ rev 16984

caja: Remove some share folders.
author Yuri Pourre <yuripourre@gmail.com>
date Thu Aug 07 22:54:52 2014 -0300 (2014-08-07)
parents f12570b5276d
children 5386dbd4c0b4
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@16740 35 Name=HP-15C Calculator
pascal@16740 36 Name[fr]=Calculatrice HP-15C
pascal@16740 37 Name[pt]=Calculadora HP-15C
pascal@16727 38 Exec=/usr/share/hp15c/HP-15C.sh
pascal@16727 39 Icon=/usr/share/hp15c/HP-15C.gif
pascal@16727 40 Terminal=false
pascal@16727 41 Type=Application
pascal@16740 42 Categories=Application;Utility;
pascal@16727 43 EOT
pascal@16727 44 }