wok-next view ninvaders/receipt @ rev 18452
perl-datetime: more deps
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sun Sep 27 20:14:44 2015 +0000 (2015-09-27) |
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 }