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