wok-current view ninvaders/receipt @ rev 19221
Up pcre (8.39); add pcre2 (10.21).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 18 19:48:35 2016 +0300 (2016-06-18) |
parents | 3ba8d2c9720d |
children | afae00265386 |
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 libtinfo"
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 }