wok-current annotate softgun/receipt @ rev 14032
gocr: use pnm2png, not pnmtopng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 11:06:24 2013 +0100 (2013-02-18) |
parents | 2b1a6b2f6c0d |
children | 3b4e4318134e |
rev | line source |
---|---|
pankso@12742 | 1 # SliTaz package receipt. |
pankso@12742 | 2 |
pankso@12742 | 3 PACKAGE="softgun" |
pankso@12742 | 4 VERSION="0.20" |
pankso@12742 | 5 CATEGORY="development" |
pankso@12742 | 6 SHORT_DESC="ARM software emulator." |
pankso@12742 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@12742 | 8 TARBALL="$PACKAGE-$VERSION.tgz" |
pankso@12742 | 9 WEB_SITE="http://softgun.sourceforge.net/" |
pankso@12742 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13041 | 11 TAGS="emulator arm" |
pankso@12742 | 12 |
pankso@12742 | 13 DEPENDS="alsa-lib" |
pankso@12742 | 14 BUILD_DEPENDS="alsa-lib-dev" |
pankso@12742 | 15 |
pankso@12742 | 16 # Rules to configure and make the package. |
pankso@12742 | 17 compile_rules() |
pankso@12742 | 18 { |
pankso@12742 | 19 cd $src |
pankso@12742 | 20 mkdir -p $DESTDIR/usr/bin |
pankso@12742 | 21 make && make prefix=$DESTDIR/usr install |
pankso@12742 | 22 } |
pankso@12742 | 23 |
pankso@12742 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12742 | 25 genpkg_rules() |
pankso@12742 | 26 { |
pankso@12742 | 27 mkdir -p \ |
pankso@12742 | 28 $fs/usr/share/softgun \ |
pankso@12742 | 29 $fs/usr/share/doc/sotfgun |
pankso@12742 | 30 cp -a $install/usr/bin $fs/usr |
pankso@12742 | 31 cp -a $src/configs $fs/usr/share/softgun |
pankso@12742 | 32 cp $src/README $fs/usr/share/doc/sotfgun |
pankso@12742 | 33 } |