wok view lbreakout2/receipt @ rev 3926

mirror-tools: be fhs compatible
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 19 12:03:31 2009 +0200 (2009-08-19)
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 }