wok annotate ninvaders/receipt @ rev 19059

Add Lines game
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 21 03:09:40 2016 +0300 (2016-04-21)
parents 2a3776157b63
children 881c653f2f8c
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@15584 16 BUILD_DEPENDS="ncurses-dev"
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 }