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

Fix dpkg receipt
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 07:57:52 2013 +0100 (2013-12-21)
parents 2c679ce49f4c
children e8c84b81fa04
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
11 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 WGET_URL="http://prdownloads.sourceforge.net/lgames/$TARBALL"
14 DEPENDS="libpng libsdl libsdl-mixer zlib"
15 BUILD_DEPENDS="libpng-dev libsdl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --disable-sdltest --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share $fs/usr
33 cp -a stuff/* $fs
34 }