wok-6.x annotate ninvaders/receipt @ rev 20319
Up tazlito (501)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 20 13:28:18 2018 +0200 (2018-05-20) |
parents | 3ba8d2c9720d |
children | afae00265386 |
rev | line source |
---|---|
pankso@35 | 1 # SliTaz package receipt. |
pankso@35 | 2 |
pankso@35 | 3 PACKAGE="ninvaders" |
pankso@35 | 4 VERSION="0.1.1" |
pankso@208 | 5 CATEGORY="games" |
pankso@35 | 6 SHORT_DESC="Space Invaders clone." |
pankso@35 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
pankso@35 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@35 | 10 WEB_SITE="http://ninvaders.sourceforge.net/" |
pankso@35 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4969 | 12 TAGS="shooting" |
pankso@16171 | 13 HOST_ARCH="i486 arm" |
pankso@35 | 14 |
pascal@15584 | 15 DEPENDS="ncurses" |
pascal@19088 | 16 BUILD_DEPENDS="ncurses-dev libtinfo" |
pascal@15584 | 17 |
pankso@35 | 18 # Rules to configure and make the package. |
pankso@35 | 19 compile_rules() |
pankso@35 | 20 { |
pascal@17672 | 21 export LDFLAGS="$LDFLAGS -ltinfo" |
pankso@16171 | 22 make CC=${HOST_SYSTEM}-gcc |
pankso@35 | 23 } |
pankso@35 | 24 |
pankso@35 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@35 | 26 genpkg_rules() |
pankso@35 | 27 { |
samuel_trassare@11978 | 28 mkdir -p $fs/usr/games $fs/usr/share/pixmaps |
pankso@35 | 29 cp -a $src/nInvaders $fs/usr/games |
samuel_trassare@11978 | 30 cp -a $stuff/ninvader.png $fs/usr/share/pixmaps |
pankso@35 | 31 } |