wok-next diff gsim51/receipt @ rev 21678
updated getmail (4.41.0 -> 5.14)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 13:44:08 2020 +0100 (2020-06-29) |
parents | 466bca9334ef |
children |
line diff
1.1 --- a/gsim51/receipt Tue Oct 17 10:14:12 2017 +0200 1.2 +++ b/gsim51/receipt Mon Jun 29 13:44:08 2020 +0100 1.3 @@ -1,31 +1,28 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="gsim51" 1.8 VERSION="1.1" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="Text based simulator for the 8051 microcontroller." 1.11 +SHORT_DESC="Text based simulator for the 8051 microcontroller" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -SOURCE="gSim51" 1.15 -TARBALL="${SOURCE}v$VERSION.tar.gz" 1.16 -WEB_SITE="http://$PACKAGE.sourceforge.net/" 1.17 +WEB_SITE="http://gsim51.sourceforge.net/" 1.18 + 1.19 +TARBALL="gSim51v$VERSION.tar.gz" 1.20 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.21 -TAGS="8051" 1.22 1.23 -DEPENDS="ncurses" 1.24 BUILD_DEPENDS="ncurses-dev" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 +compile_rules() { 1.30 cd $src/src 1.31 - make 1.32 + make || return 1 1.33 + 1.34 + install -Dm755 $src/src/gSim51 $install/usr/bin/gSim51 1.35 + install -Dm644 $src/docs/offlinehelp.txt $install/usr/share/gsim51/sim51.hlp 1.36 } 1.37 1.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 -genpkg_rules() 1.40 -{ 1.41 - mkdir -p $fs/usr/bin $fs/usr/share/gsim51 1.42 - cp -a $src/src/gSim51 $fs/usr/bin 1.43 - cp -a $src/docs/offlinehelp.txt $fs/usr/share/gsim51/sim51.hlp 1.44 +genpkg_rules() { 1.45 + copy @std 1.46 + DEPENDS="ncurses" 1.47 + TAGS="8051" 1.48 }