wok annotate gsim51/receipt @ rev 15953

arm: fix file cross compilation and add testsuite
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 23 15:49:23 2014 +0100 (2014-02-23)
parents 01560df26bda
children 17e313b5b9c1
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@15827 21 make
pascal@15827 22 }
pascal@15827 23
pascal@15827 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15827 25 genpkg_rules()
pascal@15827 26 {
pascal@15827 27 mkdir -p $fs/usr/bin $fs/usr/share/gsim51
pascal@15827 28 cp -a $src/src/gSim51 $fs/usr/bin
pascal@15827 29 cp -a $src/docs/offlinehelp.txt $fs/usr/share/gsim51/sim51.hlp
pascal@15827 30 }