wok-next diff ndoutils/receipt @ rev 15854

twisted: Add zopeinterface to build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jan 28 05:56:16 2014 +0000 (2014-01-28)
parents 9938a922ca78
children 0d8a1a3edc72
line diff
     1.1 --- a/ndoutils/receipt	Sat Apr 27 03:10:35 2013 +0200
     1.2 +++ b/ndoutils/receipt	Tue Jan 28 05:56:16 2014 +0000
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Provide mysql access to nagios."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://www.nagios.org/"
    1.10  WGET_URL="$SF_MIRROR/nagios/$TARBALL"
    1.11 +CONFIG_FILES="/etc/nagios"
    1.12 +
    1.13  DEPENDS="nagios mysql"
    1.14  BUILD_DEPENDS="mysql-dev"
    1.15 -CONFIG_FILES="/etc/nagios"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19 @@ -34,8 +36,8 @@
    1.20  	--libexecdir=/usr/lib/$PACKAGE \
    1.21  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.22  	make && \
    1.23 -	make DESTDIR=$PWD/_pkg install && \
    1.24 -	make DESTDIR=$PWD/_pkg install-config
    1.25 +	make DESTDIR=$DESTDIR install && \
    1.26 +	make DESTDIR=$DESTDIR install-config
    1.27  }	
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 @@ -46,9 +48,9 @@
    1.31  		$fs/var/run/nagios \
    1.32  		$fs/etc/mysql.d
    1.33  	
    1.34 -	cp -a $_pkg/usr/bin $fs/usr
    1.35 -	cp -a $_pkg/usr/lib $fs/usr
    1.36 -	cp -a $_pkg/etc $fs
    1.37 +	cp -a $install/usr/bin $fs/usr
    1.38 +	cp -a $install/usr/lib $fs/usr
    1.39 +	cp -a $install/etc $fs
    1.40  	
    1.41  	# config ndo2db.cfg
    1.42  	sed -i  -e 's/ndo2db_user=nagios/ndo2db_user=nagios/' \