wok view lbreakout2/receipt @ rev 10341

screen: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 02:29:02 2011 +0000 (2011-05-22)
parents e8024c01fc47
children 2a5cc8208d36
line source
1 # SliTaz package receipt.
3 PACKAGE="lbreakout2"
4 VERSION="2.6beta-7"
5 CATEGORY="games"
6 SHORT_DESC="Breakout clone."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
10 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 WGET_URL="http://prdownloads.sourceforge.net/lgames/$TARBALL"
12 DEPENDS="libpng libsdl libsdl-mixer zlib"
13 BUILD_DEPENDS="libpng-dev libsdl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --disable-sdltest --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share $fs/usr
31 cp -a stuff/* $fs
32 }