wok-current view gsim51/receipt @ rev 20117
Up lz4 (1.8.0), zstd - Long Range (1.3.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 13 13:42:46 2017 +0200 (2017-10-13) |
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 }