wok annotate xscavenger/receipt @ rev 20556
gcc3: set host,build,target
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 18:05:39 2018 +0100 (2018-12-12) |
parents | 1e2ad144e0db |
children | ff9bdf719828 |
rev | line source |
---|---|
pascal@13734 | 1 # SliTaz package receipt. |
pascal@13734 | 2 |
pascal@13734 | 3 PACKAGE="xscavenger" |
pascal@13734 | 4 VERSION="1.4.4" |
pascal@13734 | 5 CATEGORY="games" |
pascal@13734 | 6 SHORT_DESC="Lode Runner rewritten for X11." |
pascal@13734 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="GPL2" |
pascal@13734 | 9 WEB_SITE="http://www.xdr.com/dash/scavenger.html" |
pascal@13734 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@13734 | 11 WGET_URL="$(dirname $WEB_SITE)/$TARBALL" |
pascal@13734 | 12 |
pascal@13734 | 13 DEPENDS="xorg" |
pascal@13734 | 14 BUILD_DEPENDS="xorg-imake xorg-dev" |
pascal@13734 | 15 |
pascal@13734 | 16 # Rules to configure and make the package. |
pascal@13734 | 17 compile_rules() |
pascal@13734 | 18 { |
pascal@13734 | 19 cd $src/src |
pascal@13734 | 20 cp scavenger.6 scavenger.man |
pascal@13734 | 21 xmkmf |
pascal@13734 | 22 make && make DESTDIR=$DESTDIR install |
pascal@13734 | 23 } |
pascal@13734 | 24 |
pascal@13734 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13734 | 26 genpkg_rules() |
pascal@13734 | 27 { |
pascal@13734 | 28 cp -a $install/usr $fs |
pascal@13737 | 29 cp -a $stuff/*/ $fs |
pascal@13734 | 30 } |