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