wok diff nabi/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 ec066bd77049
children 55027f478c44
line diff
     1.1 --- a/nabi/receipt	Sun Apr 25 22:52:30 2010 +0200
     1.2 +++ b/nabi/receipt	Fri Dec 18 13:20:19 2015 +0000
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="misc"
     1.5  SHORT_DESC="powerful GNU XIM, made for entering Hangul"
     1.6  MAINTAINER="allan316@gmail.com"
     1.7 -DEPENDS="libhangul gtk+ cairo xorg-libSM xorg-libICE"
     1.8 -BUILD_DEPENDS="libhangul libhangul-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://nabi.kldp.net"
    1.12  WGET_URL="http://kldp.net/frs/download.php/5287/$TARBALL"
    1.13  
    1.14 +DEPENDS="libhangul gtk+ cairo xorg-libSM xorg-libICE"
    1.15 +BUILD_DEPENDS="libhangul libhangul-dev gtk+-dev cairo-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -20,14 +22,14 @@
    1.21  		--infodir=/usr/share/info \
    1.22  		--mandir=/usr/share/man \
    1.23  		$CONFIGURE_ARGS &&
    1.24 -	make && make DESTDIR=$PWD/_pkg install
    1.25 +	make && make DESTDIR=$DESTDIR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr
    1.32 -	cp -a $_pkg/usr/bin $fs/usr
    1.33 -	cp -a $_pkg/usr/share $fs/usr
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +	cp -a $install/usr/share $fs/usr
    1.36  }
    1.37