wok-current view lbreakout2/receipt @ rev 6744

gcc,gcc+gcj: add --enable-gold for link time optimizations
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 17 12:06:47 2010 +0200 (2010-10-17)
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 }