wok-next view lbreakout2/receipt @ rev 20312
Up lbreakout2 (2.6.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 10 21:31:06 2017 +0100 (2017-11-10) |
parents | e8c84b81fa04 |
children | dd145c435e4b |
line source
1 # SliTaz package receipt.
3 PACKAGE="lbreakout2"
4 VERSION="2.6.5"
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="http://prdownloads.sourceforge.net/lgames/$TARBALL"
13 DEPENDS="libpng libsdl libsdl-mixer zlib"
14 BUILD_DEPENDS="libpng-dev libsdl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/usr/doc|/usr/share/doc|' configure*
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --disable-sdltest --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share $fs/usr
32 rm -rf $fs/usr/share/doc
33 cp -a stuff/* $fs
34 }