wok-current view 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 |
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 }