wok diff gsim51/receipt @ rev 24372

updated bison and bison-lang (3.5 -> 3.8.2)
author Hans-G?nter Theisgen
date Sat Feb 05 15:15:36 2022 +0100 (2022-02-05)
parents fdc47644be0f
children 932cd974e081
line diff
     1.1 --- a/gsim51/receipt	Wed Sep 16 13:16:09 2015 +0200
     1.2 +++ b/gsim51/receipt	Sat Feb 05 15:15:36 2022 +0100
     1.3 @@ -20,13 +20,25 @@
     1.4  {
     1.5  	cd $src/src
     1.6  	sed -i 's/-lncurses/& -ltinfo/' Makefile
     1.7 +	sed -i 's|sim51.hlp|/usr/share/gsim51/&|' *funcs3.c
     1.8  	make
     1.9  }
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.12  genpkg_rules()
    1.13  {
    1.14 -	mkdir -p $fs/usr/bin $fs/usr/share/gsim51
    1.15 -	cp -a $src/src/gSim51 $fs/usr/bin
    1.16 -	cp -a $src/docs/offlinehelp.txt $fs/usr/share/gsim51/sim51.hlp
    1.17 +	mkdir -p $fs/usr/bin $fs/usr/share/gsim51 $fs/usr/share/applications
    1.18 +	mkdir -p $install/usr/share
    1.19 +	cp -a $src/docs $install/usr/share/doc
    1.20 +	cp -a $src/bin/gSim51 $fs/usr/bin
    1.21 +	cp -a $src/bin/sim51.hlp $fs/usr/share/gsim51/sim51.hlp
    1.22 +	cat > $fs/usr/share/applications/gsim51.desktop <<EOT
    1.23 +[Desktop Entry]
    1.24 +Type=Application
    1.25 +Name=8051 simulator
    1.26 +Name[fr]=Simulateur de 8051
    1.27 +Exec=terminal -e gSim51
    1.28 +Icon=computer
    1.29 +Categories=ConsoleOnly;Utility;Development;
    1.30 +EOT
    1.31  }