wok diff 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
line diff
     1.1 --- a/lbreakout2/receipt	Sat Jun 13 13:32:50 2009 +0200
     1.2 +++ b/lbreakout2/receipt	Fri Dec 18 13:20:19 2015 +0000
     1.3 @@ -5,10 +5,12 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="Breakout clone."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://lgames.sourceforge.net/index.php?project=LBreakout2"
    1.10  #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.11  WGET_URL="http://prdownloads.sourceforge.net/lgames/$TARBALL"
    1.12 +
    1.13  DEPENDS="libpng libsdl libsdl-mixer  zlib"
    1.14  BUILD_DEPENDS="libpng-dev libsdl-dev"
    1.15  
    1.16 @@ -19,15 +21,15 @@
    1.17  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.18  	--disable-sdltest --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.19  	make &&
    1.20 -	make DESTDIR=$PWD/_pkg install
    1.21 +	make DESTDIR=$DESTDIR install
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27  	mkdir -p $fs/usr
    1.28 -	cp -a $_pkg/usr/bin $fs/usr
    1.29 -	cp -a $_pkg/usr/share $fs/usr
    1.30 +	cp -a $install/usr/bin $fs/usr
    1.31 +	cp -a $install/usr/share $fs/usr
    1.32  	cp -a stuff/* $fs
    1.33  }
    1.34