wok view lbreakout2/receipt @ rev 19875

linld: fix chdirname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 31 12:51:11 2017 +0200 (2017-03-31)
parents 2a5cc8208d36
children 663233baf831
line source
1 # SliTaz package receipt.
3 PACKAGE="lbreakout2"
4 VERSION="2.6beta-7"
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="$SF_MIRROR/$PACKAGE/$TARBALL"
12 WGET_URL="http://prdownloads.sourceforge.net/lgames/$TARBALL"
14 DEPENDS="libpng libsdl libsdl-mixer zlib"
15 BUILD_DEPENDS="libpng-dev libsdl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|/usr/doc|/usr/share/doc|' configure*
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --disable-sdltest --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
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 }