wok-6.x view lbreakout2/receipt @ rev 23341

updated perl-html-tree (4.1 -> 5.07)
author Hans-G?nter Theisgen
date Tue Mar 31 09:01:44 2020 +0100 (2020-03-31)
parents e8c84b81fa04
children 65d7d867e0c1
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 WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 WGET_URL="http://downloads.sourceforge.net/project/lgames/$PACKAGE/${VERSION%.*}/$TARBALL"
15 DEPENDS="libpng libsdl libsdl-mixer zlib"
16 BUILD_DEPENDS="libpng-dev libsdl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|/usr/doc|/usr/share/doc|' \
22 configure*
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --disable-sdltest \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share $fs/usr
41 rm -rf $fs/usr/share/doc
42 cp -a stuff/* $fs
43 }