wok-current view softgun/receipt @ rev 19927
postfix: dirty fix (again)
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Fri Apr 21 13:41:52 2017 +0200 (2017-04-21) | 
| parents | a0250385f2a5 | 
| children | e919c5a2742d | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="softgun"
     4 VERSION="0.20"
     5 CATEGORY="development"
     6 SHORT_DESC="ARM software emulator."
     7 MAINTAINER="pankso@slitaz.org"
     8 LICENSE="BSD"
     9 TARBALL="$PACKAGE-$VERSION.tgz"
    10 WEB_SITE="http://softgun.sourceforge.net/"
    11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    12 TAGS="emulator arm"
    14 DEPENDS="alsa-lib"
    15 BUILD_DEPENDS="alsa-lib-dev"
    17 # Rules to configure and make the package.
    18 compile_rules()
    19 {
    20 	cd $src
    21 	mkdir -p $DESTDIR/usr/bin
    22 	make && make prefix=$DESTDIR/usr install
    23 }
    25 # Rules to gen a SliTaz package suitable for Tazpkg.
    26 genpkg_rules()
    27 {
    28 	mkdir -p \
    29 		$fs/usr/share/softgun \
    30 		$fs/usr/share/doc/sotfgun
    31 	cp -a $install/usr/bin $fs/usr
    32 	cp -a $src/configs $fs/usr/share/softgun
    33 	cp $src/README $fs/usr/share/doc/sotfgun
    34 }