wok-next diff couchdb/receipt @ rev 15666

Add ddumbfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 13 16:18:29 2013 +0000 (2013-12-13)
parents 73641efed1cc
children b9c6c8240bba
line diff
     1.1 --- a/couchdb/receipt	Mon Apr 23 16:30:27 2012 +0200
     1.2 +++ b/couchdb/receipt	Fri Dec 13 16:18:29 2013 +0000
     1.3 @@ -6,6 +6,7 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Apache CouchDB is document-oriented database."
     1.6  MAINTAINER="claudinei@slitaz.org"
     1.7 +LICENSE="Apache"
     1.8  TARBALL="$SOURCE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://couchdb.apache.org"
    1.10  APACHE_MIRROR="http://mirrors.dedipower.com/ftp.apache.org/"
    1.11 @@ -26,21 +27,21 @@
    1.12  		--infodir=/usr/share/info \
    1.13  		--mandir=/usr/share/man \
    1.14  		$CONFIGURE_ARGS &&
    1.15 -	make && make DESTDIR=$PWD/_pkg install
    1.16 +	make && make DESTDIR=$DESTDIR install
    1.17  }
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22  	mkdir -p $fs/usr/share $fs/etc
    1.23 -	cp -a $_pkg/usr/bin $fs/usr
    1.24 -	cp -a $_pkg/usr/lib $fs/usr
    1.25 -	cp -a $_pkg/usr/share/couchdb $fs/usr/share
    1.26 -	cp -a $_pkg/var $fs
    1.27 -	cp -a $_pkg/etc/couchdb $fs/etc
    1.28 -	cp -a $_pkg/etc/default/couchdb $fs/etc/couchdb
    1.29 -	cp -a $_pkg/etc/init.d $fs/etc
    1.30 -	cp -a $_pkg/etc/logrotate.d $fs/etc
    1.31 +	cp -a $install/usr/bin $fs/usr
    1.32 +	cp -a $install/usr/lib $fs/usr
    1.33 +	cp -a $install/usr/share/couchdb $fs/usr/share
    1.34 +	cp -a $install/var $fs
    1.35 +	cp -a $install/etc/couchdb $fs/etc
    1.36 +	cp -a $install/etc/default/couchdb $fs/etc/couchdb
    1.37 +	cp -a $install/etc/init.d $fs/etc
    1.38 +	cp -a $install/etc/logrotate.d $fs/etc
    1.39  	sed -i "s|/etc/default/couchdb|/etc/couchdb/couchdb|" \
    1.40  		$fs/etc/init.d/couchdb
    1.41  }