wok-6.x view lbreakout2/receipt @ rev 3399

childsplay: fix patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 12 09:58:56 2009 +0200 (2009-06-12)
parents d80b670ad79a
children e8024c01fc47
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 libiconv 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 }