wok-next diff boxbackup-server/receipt @ rev 9099

boxbackup-*: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 22:16:34 2011 +0100 (2011-03-04)
parents 2696d353965c
children a1644dbcf632
line diff
     1.1 --- a/boxbackup-server/receipt	Fri Mar 04 13:25:43 2011 +0100
     1.2 +++ b/boxbackup-server/receipt	Fri Mar 04 22:16:34 2011 +0100
     1.3 @@ -29,8 +29,9 @@
     1.4  	./configure --prefix=/usr $CONFIGURE_ARGS &&
     1.5  	make -j1 && {
     1.6  		mkdir -p $DESTDIR
     1.7 -		cp -a parcels/boxbackup-${VERSION}-backup-server-linux-gnu/* $DESTDIR
     1.8 -		rm -f $DESTDIR/*.*
     1.9 +		cp -a parcels/boxbackup-${VERSION}-backup-client-linux-gnu $DESTDIR
    1.10 +		cp -a parcels/boxbackup-${VERSION}-backup-server-linux-gnu $DESTDIR
    1.11 +		rm -f $DESTDIR/boxbackup-${VERSION}-backup-server-linux-gnu/*.*
    1.12  	}
    1.13  }
    1.14  
    1.15 @@ -38,8 +39,8 @@
    1.16  genpkg_rules()
    1.17  {
    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
    1.21 +	cp -a $_pkg/boxbackup-${VERSION}-backup-server-linux-gnu/bb* $fs/usr/bin
    1.22 +	cp -a $_pkg/boxbackup-${VERSION}-backup-server-linux-gnu/ra* $fs/usr/bin
    1.23  	mkdir -p $fs/etc/init.d
    1.24  	cp -a stuff/bbstored $fs/etc/init.d
    1.25  }