wok-6.x annotate softgun/receipt @ rev 21917
linux-zram: split swap according to cores count
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 05 11:36:18 2019 +0200 (2019-10-05) |
parents | a0250385f2a5 |
children | e919c5a2742d |
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" |
pascal@15593 | 8 LICENSE="BSD" |
pankso@12742 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pankso@12742 | 10 WEB_SITE="http://softgun.sourceforge.net/" |
pankso@12742 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13041 | 12 TAGS="emulator arm" |
pankso@12742 | 13 |
pankso@12742 | 14 DEPENDS="alsa-lib" |
pankso@12742 | 15 BUILD_DEPENDS="alsa-lib-dev" |
pankso@12742 | 16 |
pankso@12742 | 17 # Rules to configure and make the package. |
pankso@12742 | 18 compile_rules() |
pankso@12742 | 19 { |
pankso@12742 | 20 cd $src |
pankso@12742 | 21 mkdir -p $DESTDIR/usr/bin |
pankso@12742 | 22 make && make prefix=$DESTDIR/usr install |
pankso@12742 | 23 } |
pankso@12742 | 24 |
pankso@12742 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12742 | 26 genpkg_rules() |
pankso@12742 | 27 { |
pankso@12742 | 28 mkdir -p \ |
pankso@12742 | 29 $fs/usr/share/softgun \ |
pankso@12742 | 30 $fs/usr/share/doc/sotfgun |
pankso@12742 | 31 cp -a $install/usr/bin $fs/usr |
pankso@12742 | 32 cp -a $src/configs $fs/usr/share/softgun |
pankso@12742 | 33 cp $src/README $fs/usr/share/doc/sotfgun |
pankso@12742 | 34 } |