wok-current annotate gsim51/receipt @ rev 19932

Up lrzip (631)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 27 10:14:20 2017 +0200 (2017-04-27)
parents c7c3567bd8d4
children 3b3749beba6d
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@18360 13 TAGS="8051"
pascal@15827 14
pascal@15827 15 DEPENDS="ncurses"
pascal@15830 16 BUILD_DEPENDS="ncurses-dev"
pascal@15827 17
pascal@15827 18 # Rules to configure and make the package.
pascal@15827 19 compile_rules()
pascal@15827 20 {
pascal@15827 21 cd $src/src
pascal@17673 22 sed -i 's/-lncurses/& -ltinfo/' Makefile
pascal@15827 23 make
pascal@15827 24 }
pascal@15827 25
pascal@15827 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15827 27 genpkg_rules()
pascal@15827 28 {
pascal@15827 29 mkdir -p $fs/usr/bin $fs/usr/share/gsim51
pascal@15827 30 cp -a $src/src/gSim51 $fs/usr/bin
pascal@15827 31 cp -a $src/docs/offlinehelp.txt $fs/usr/share/gsim51/sim51.hlp
pascal@15827 32 }