wok-6.x view ninvaders/receipt @ rev 20705

xar: add WEB_SITE (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 06 10:00:41 2019 +0100 (2019-02-06)
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 }