wok-next annotate softgun/receipt @ rev 12742

Add softgun (ARM/emb system emulator)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 08 00:04:31 2012 +0200 (2012-05-08)
parents
children a0250385f2a5
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"
pankso@12742 11
pankso@12742 12 DEPENDS="alsa-lib"
pankso@12742 13 BUILD_DEPENDS="alsa-lib-dev"
pankso@12742 14
pankso@12742 15 # Rules to configure and make the package.
pankso@12742 16 compile_rules()
pankso@12742 17 {
pankso@12742 18 cd $src
pankso@12742 19 mkdir -p $DESTDIR/usr/bin
pankso@12742 20 make && make prefix=$DESTDIR/usr install
pankso@12742 21 }
pankso@12742 22
pankso@12742 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12742 24 genpkg_rules()
pankso@12742 25 {
pankso@12742 26 mkdir -p \
pankso@12742 27 $fs/usr/share/softgun \
pankso@12742 28 $fs/usr/share/doc/sotfgun
pankso@12742 29 cp -a $install/usr/bin $fs/usr
pankso@12742 30 cp -a $src/configs $fs/usr/share/softgun
pankso@12742 31 cp $src/README $fs/usr/share/doc/sotfgun
pankso@12742 32 }