wok-next view lbreakout2/receipt @ rev 20406

Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 08 02:55:48 2017 +0200 (2017-12-08)
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 }