wok-6.x annotate lbreakout2/receipt @ rev 9864

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