wok annotate lbreakout2/receipt @ rev 18725

lynis 2.1.1: fix: installs in /usr/share/lynis but can not be found, trying /usr/local/share (as in example on dev website)
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Dec 18 13:20:19 2015 +0000 (2015-12-18)
parents 2c679ce49f4c
children e8c84b81fa04
rev   line source
pascal@1958 1 # SliTaz package receipt.
pascal@1958 2
pascal@1958 3 PACKAGE="lbreakout2"
pascal@1958 4 VERSION="2.6beta-7"
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="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@1958 12 WGET_URL="http://prdownloads.sourceforge.net/lgames/$TARBALL"
pascal@15379 13
pankso@3429 14 DEPENDS="libpng libsdl libsdl-mixer zlib"
pankso@3425 15 BUILD_DEPENDS="libpng-dev libsdl-dev"
pascal@1958 16
pascal@1958 17 # Rules to configure and make the package.
pascal@1958 18 compile_rules()
pascal@1958 19 {
pascal@1958 20 cd $src
pascal@1958 21 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2479 22 --disable-sdltest --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2479 23 make &&
pascal@15379 24 make DESTDIR=$DESTDIR install
pascal@1958 25 }
pascal@1958 26
pascal@1958 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1958 28 genpkg_rules()
pascal@1958 29 {
pascal@1958 30 mkdir -p $fs/usr
pascal@15379 31 cp -a $install/usr/bin $fs/usr
pascal@15379 32 cp -a $install/usr/share $fs/usr
pascal@1958 33 cp -a stuff/* $fs
pascal@1958 34 }
pascal@1958 35