wok-next view gsim51/receipt @ rev 18696
Add jpilot, pilot-link(-dev)
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Sun Dec 13 23:12:27 2015 +0100 (2015-12-13) |
parents | c7c3567bd8d4 |
children | 466bca9334ef |
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 }