wok view emu8051/receipt @ rev 24019

syslinux: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 16:32:57 2021 +0000 (2021-02-28)
parents d1f85e376665
children bfabe25c21ff
line source
1 # SliTaz package receipt.
3 PACKAGE="emu8051"
4 VERSION="2.0.1"
5 CATEGORY="development"
6 SHORT_DESC="Emulator and simulator for 8051 microcontrollers"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.hugovil.com/projet.php?proj=$PACKAGE"
11 WGET_URL="http://www.hugovil.com/repository/$PACKAGE/$TARBALL"
12 TAG="8051 simulator"
14 DEPENDS="readline libtinfo gtk+"
15 BUILD_DEPENDS="readline-dev libtinfo gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -ltinfo"
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/applications
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/etc $fs
36 cat > $fs/usr/share/applications/emu8051.desktop <<EOT
37 [Desktop Entry]
38 Type=Application
39 Name=8051 simulator
40 Name[fr]=simulateur de 8051
41 Exec=emu8051-gtk
42 Icon=computer
43 Categories=Development;
44 EOT
45 }