wok-4.x rev 9283

backuppc: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 16 09:39:58 2011 +0100 (2011-03-16)
parents 118babc9679f
children aa9358196db9
files backuppc/receipt par2/receipt
line diff
     1.1 --- a/backuppc/receipt	Wed Mar 16 09:13:12 2011 +0100
     1.2 +++ b/backuppc/receipt	Wed Mar 16 09:39:58 2011 +0100
     1.3 @@ -21,13 +21,14 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	mkdir -p $PWD/_pkg/etc/apache/conf.d
     1.8 -	cp httpd/BackupPC.conf $PWD/_pkg/etc/apache/conf.d
     1.9 +	mkdir -p _pkg/etc/apache/conf.d
    1.10  	perl configure.pl --batch --dest-dir=$PWD/_pkg --install-dir=/usr \
    1.11  		--data-dir=/var/lib/BackupPC --config-dir=/etc/BackupPC \
    1.12  		--log-dir=/var/log/BackupPC --backuppc-user=www \
    1.13  		--hostname=localhost --html-dir=/usr/share/BackupPC/www \
    1.14 -		--html-dir-url=/BackupPC/img --cgi-dir=/usr/share/BackupPC/cgi
    1.15 +		--html-dir-url=/BackupPC/img \
    1.16 +		--cgi-dir=/usr/share/BackupPC/cgi &&
    1.17 +	cp httpd/BackupPC.conf _pkg/etc/apache/conf.d
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/par2/receipt	Wed Mar 16 09:13:12 2011 +0100
     2.2 +++ b/par2/receipt	Wed Mar 16 09:39:58 2011 +0100
     2.3 @@ -9,6 +9,7 @@
     2.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     2.5  WEB_SITE="http://parchive.sourceforge.net/"
     2.6  WGET_URL="$SF_MIRROR/parchive/$TARBALL"
     2.7 +DEPENDS="gcc-lib-base"
     2.8  
     2.9  # Rules to configure and make the package.
    2.10  compile_rules()