wok-4.x view ninvaders/receipt @ rev 6914

Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 21 23:49:16 2010 +0000 (2010-10-21)
parents 3d99ecce2d4b
children e5ae411e1d8c
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 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://ninvaders.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="shooting"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make &&
20 strip nInvaders
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/games
27 cp -a $src/nInvaders $fs/usr/games
28 }