wok-6.x view gsim51/receipt @ rev 18085
Up mate-panel-dev: remove wget_url
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri May 22 19:44:36 2015 -0300 (2015-05-22) |
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 }