wok-next view lbreakout2/receipt @ rev 12753

dosbox: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 11 13:42:55 2012 +0200 (2012-05-11)
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 }