wok-next view lbreakout2/receipt @ rev 20931
pygobject3 -> python-pygobject (latest); pygobject -> python-pygobject2 (legacy)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 08:03:04 2018 +0300 (2018-08-23) |
parents | 99ea19f8ab8f |
children | f48456621a9d |
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="libpng16 libsdl libsdl-mixer zlib"
14 BUILD_DEPENDS="libpng16-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 }