wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="ninvaders"
4 VERSION="0.1.1"
5 CATEGORY="games"
6 SHORT_DESC="Space Invaders clone."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ninvaders.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="shooting"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ncurses"
16 BUILD_DEPENDS="ncurses-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -ltinfo"
22 make CC=${HOST_SYSTEM}-gcc
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/games $fs/usr/share/pixmaps
29 cp -a $src/nInvaders $fs/usr/games
30 cp -a $stuff/ninvader.png $fs/usr/share/pixmaps
31 }