wok view lbreakout2/receipt @ rev 20910
updated fakeroot (1.15.1 -> 1.23)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 28 14:29:52 2019 +0100 (2019-02-28) |
parents | 2a5cc8208d36 |
children | 663233baf831 |
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 sed -i 's|/usr/doc|/usr/share/doc|' configure*
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 rm -rf $fs/usr/share/doc
34 cp -a stuff/* $fs
35 }