wok-next view lbreakout2/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/lgames/$TARBALL"
14 BUILD_DEPENDS="libpng-dev sdl-dev"
16 compile_rules() {
17 sed -i 's|/usr/doc|/usr/share/doc|' configure*
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --disable-sdltest \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$install install
27 }
29 genpkg_rules() {
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 DEPENDS="libpng sdl sdl-mixer zlib"
36 }