wok-next view lbreakout2/receipt @ rev 16525

fix raspberrypi-vc post_install
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 26 04:19:41 2014 +0200 (2014-04-26)
parents 2c679ce49f4c
children e8c84b81fa04
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 cd $src
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 cp -a stuff/* $fs
34 }