wok rev 24647

updated hp15c (4.0.00 -> 4.3.00)
author Hans-G?nter Theisgen
date Thu Mar 10 11:23:00 2022 +0100 (2022-03-10)
parents 85d57ffe7860
children 2a8e7fee7f14
files hp15c/receipt
line diff
     1.1 --- a/hp15c/receipt	Thu Mar 10 11:11:28 2022 +0100
     1.2 +++ b/hp15c/receipt	Thu Mar 10 11:23:00 2022 +0100
     1.3 @@ -2,17 +2,18 @@
     1.4  
     1.5  PACKAGE="hp15c"
     1.6  SOURCE="HP-15C"
     1.7 -VERSION="4.0.00"
     1.8 +VERSION="4.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 +
    1.15  TARBALL="${SOURCE}_${VERSION}_Source.zip"
    1.16  WGET_URL="http://bit.ly/2FQ82VL"
    1.17  
    1.18 -DEPENDS="tk tcl"
    1.19 -BUILD_DEPENDS="wget"
    1.20 +DEPENDS="tcl tk"
    1.21 +BUILD_DEPENDS=""
    1.22  
    1.23  # What is the latest version available today?
    1.24  current_version()
    1.25 @@ -24,16 +25,17 @@
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27  genpkg_rules()
    1.28  {
    1.29 -	mkdir -p $fs/usr/share/hp15c $fs/usr/share/applications \
    1.30 -		 $fs/usr/share/fonts/truetype/ttf-dejavu
    1.31 -	cp -a $src/* $fs/usr/share/hp15c
    1.32 +	mkdir -p $fs/usr/share/hp15c
    1.33 +	mkdir -p $fs/usr/share/applications \
    1.34 +	mkdir -p $fs/usr/share/fonts/truetype/ttf-dejavu
    1.35 +	cp -a $src/*	$fs/usr/share/hp15c
    1.36  	sed -i 's|firefox|tazweb midori &|' \
    1.37 -		$fs/usr/share/hp15c/HP-15C.tcl \
    1.38 -		$fs/usr/share/hp15c/doc/preferences.htm
    1.39 +			$fs/usr/share/hp15c/HP-15C.tcl \
    1.40 +			$fs/usr/share/hp15c/doc/preferences.htm
    1.41  	sed -i 's|url_open \$helpfile|url_open file:///$helpfile|' \
    1.42 -		$fs/usr/share/hp15c/HP-15C.tcl
    1.43 +			$fs/usr/share/hp15c/HP-15C.tcl
    1.44  	mv $fs/usr/share/hp15c/HP-15C_Simulator_Font.ttf \
    1.45 -	   $fs/usr/share/fonts/truetype/ttf-dejavu
    1.46 +			$fs/usr/share/fonts/truetype/ttf-dejavu
    1.47  	cat > $fs/usr/share/hp15c/HP-15C.sh <<EOT
    1.48  #!/bin/sh
    1.49  
    1.50 @@ -45,6 +47,7 @@
    1.51  [Desktop Entry]
    1.52  Encoding=UTF-8
    1.53  Name=HP-15C Calculator
    1.54 +Name[de]=Taschenrechner HP-15C
    1.55  Name[fr]=Calculatrice HP-15C
    1.56  Name[pt]=Calculadora HP-15C
    1.57  Exec=/usr/share/hp15c/HP-15C.sh