wok annotate gsim51/receipt @ rev 18270

Up tazpanel(522)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 07 02:40:28 2015 +0300 (2015-08-07)
parents 17e313b5b9c1
children fdc47644be0f
rev   line source
pascal@15827 1 # SliTaz package receipt.
pascal@15827 2
pascal@15827 3 PACKAGE="gsim51"
pascal@15827 4 VERSION="1.1"
pascal@15827 5 CATEGORY="development"
pascal@15827 6 SHORT_DESC="Text based simulator for the 8051 microcontroller."
pascal@15827 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15827 8 LICENSE="GPL2"
pascal@15827 9 SOURCE="gSim51"
pascal@15827 10 TARBALL="${SOURCE}v$VERSION.tar.gz"
pascal@15827 11 WEB_SITE="http://$PACKAGE.sourceforge.net/"
pascal@15827 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15827 13
pascal@15827 14 DEPENDS="ncurses"
pascal@15830 15 BUILD_DEPENDS="ncurses-dev"
pascal@15827 16
pascal@15827 17 # Rules to configure and make the package.
pascal@15827 18 compile_rules()
pascal@15827 19 {
pascal@15827 20 cd $src/src
pascal@17673 21 sed -i 's/-lncurses/& -ltinfo/' Makefile
pascal@15827 22 make
pascal@15827 23 }
pascal@15827 24
pascal@15827 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15827 26 genpkg_rules()
pascal@15827 27 {
pascal@15827 28 mkdir -p $fs/usr/bin $fs/usr/share/gsim51
pascal@15827 29 cp -a $src/src/gSim51 $fs/usr/bin
pascal@15827 30 cp -a $src/docs/offlinehelp.txt $fs/usr/share/gsim51/sim51.hlp
pascal@15827 31 }