wok-next view lbreakout2/receipt @ rev 20427

Up cookutils (1024), tazpkg (957)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 24 12:19:58 2018 +0200 (2018-01-24)
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 }