wok-next annotate lbreakout2/receipt @ rev 20312

Up lbreakout2 (2.6.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 21:31:06 2017 +0100 (2017-11-10)
parents e8c84b81fa04
children dd145c435e4b
rev   line source
pascal@1958 1 # SliTaz package receipt.
pascal@1958 2
pascal@1958 3 PACKAGE="lbreakout2"
pascal@20312 4 VERSION="2.6.5"
pascal@1958 5 CATEGORY="games"
pascal@1958 6 SHORT_DESC="Breakout clone."
pascal@1958 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15379 8 LICENSE="GPL2"
pascal@1958 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1958 10 WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
pascal@1958 11 WGET_URL="http://prdownloads.sourceforge.net/lgames/$TARBALL"
pascal@15379 12
pascal@20312 13 DEPENDS="libpng libsdl libsdl-mixer zlib"
pankso@3425 14 BUILD_DEPENDS="libpng-dev libsdl-dev"
pascal@1958 15
pascal@1958 16 # Rules to configure and make the package.
pascal@1958 17 compile_rules()
pascal@1958 18 {
pascal@19291 19 sed -i 's|/usr/doc|/usr/share/doc|' configure*
pascal@1958 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2479 21 --disable-sdltest --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2479 22 make &&
pascal@15379 23 make DESTDIR=$DESTDIR install
pascal@1958 24 }
pascal@1958 25
pascal@1958 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1958 27 genpkg_rules()
pascal@1958 28 {
pascal@1958 29 mkdir -p $fs/usr
pascal@15379 30 cp -a $install/usr/bin $fs/usr
pascal@15379 31 cp -a $install/usr/share $fs/usr
pascal@19291 32 rm -rf $fs/usr/share/doc
pascal@1958 33 cp -a stuff/* $fs
pascal@1958 34 }