wok rev 9047

boxbackup-server: do not compute $_pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 09:06:40 2011 +0100 (2011-03-04)
parents abb787804be1
children 4db1923f131d
files boxbackup-server/receipt
line diff
     1.1 --- a/boxbackup-server/receipt	Fri Mar 04 09:00:01 2011 +0100
     1.2 +++ b/boxbackup-server/receipt	Fri Mar 04 09:06:40 2011 +0100
     1.3 @@ -27,13 +27,15 @@
     1.4  {
     1.5  	cd $src
     1.6  	./configure --prefix=/usr $CONFIGURE_ARGS &&
     1.7 -	make
     1.8 +	make -j1 && {
     1.9 +		mkdir -p $DESTDIR
    1.10 +		cp -a parcels/boxbackup-${VERSION}-backup-server-linux-gnu/* $DESTDIR
    1.11 +	}
    1.12  }
    1.13  
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
    1.17 -	_pkg=$WOK/$PACKAGE/${SOURCE}-${VERSION}/parcels/boxbackup-${VERSION}-backup-server-linux-gnu
    1.18  	mkdir -p $fs/usr/bin
    1.19  	cp -a $_pkg/bb* $fs/usr/bin
    1.20  	cp -a $_pkg/ra* $fs/usr/bin