wok-6.x view gsim51/receipt @ rev 17973

Add matio
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 18 00:08:15 2015 +0200 (2015-04-18)
parents 17e313b5b9c1
children fdc47644be0f
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"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src
21 sed -i 's/-lncurses/& -ltinfo/' Makefile
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/share/gsim51
29 cp -a $src/src/gSim51 $fs/usr/bin
30 cp -a $src/docs/offlinehelp.txt $fs/usr/share/gsim51/sim51.hlp
31 }