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

Add missing -ltinfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 17 09:42:47 2015 +0100 (2015-02-17)
parents 8bcc99ece1a5
children c7c3567bd8d4
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 export LDFLAGS="$LDFLAGS -ltinfo"
21 cd $src/src
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 }