wok-current 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 | f6b0df74c928 |
children | ab455c725e30 |
files | boxbackup-client/receipt boxbackup-server/receipt |
line diff
1.1 --- a/boxbackup-client/receipt Fri Mar 04 22:10:40 2011 +0100 1.2 +++ b/boxbackup-client/receipt Fri Mar 04 22:16:34 2011 +0100 1.3 @@ -19,9 +19,9 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg 1.5 genpkg_rules() 1.6 { 1.7 - _pkg=$WOK/$WANTED/${SOURCE}-$VERSION/parcels/boxbackup-${VERSION}-backup-client-linux-gnu 1.8 mkdir -p $fs/usr/bin 1.9 cp -a $_pkg/bb* $fs/usr/bin 1.10 + cp -a $_pkg/boxbackup-${VERSION}-backup-client-linux-gnu/bb* $fs/usr/bin 1.11 mkdir -p $fs/etc/init.d 1.12 cp -a stuff/bbackupd $fs/etc/init.d 1.13 }
2.1 --- a/boxbackup-server/receipt Fri Mar 04 22:10:40 2011 +0100 2.2 +++ b/boxbackup-server/receipt Fri Mar 04 22:16:34 2011 +0100 2.3 @@ -29,8 +29,9 @@ 2.4 ./configure --prefix=/usr $CONFIGURE_ARGS && 2.5 make -j1 && { 2.6 mkdir -p $DESTDIR 2.7 - cp -a parcels/boxbackup-${VERSION}-backup-server-linux-gnu/* $DESTDIR 2.8 - rm -f $DESTDIR/*.* 2.9 + cp -a parcels/boxbackup-${VERSION}-backup-client-linux-gnu $DESTDIR 2.10 + cp -a parcels/boxbackup-${VERSION}-backup-server-linux-gnu $DESTDIR 2.11 + rm -f $DESTDIR/boxbackup-${VERSION}-backup-server-linux-gnu/*.* 2.12 } 2.13 } 2.14 2.15 @@ -38,8 +39,8 @@ 2.16 genpkg_rules() 2.17 { 2.18 mkdir -p $fs/usr/bin 2.19 - cp -a $_pkg/bb* $fs/usr/bin 2.20 - cp -a $_pkg/ra* $fs/usr/bin 2.21 + cp -a $_pkg/boxbackup-${VERSION}-backup-server-linux-gnu/bb* $fs/usr/bin 2.22 + cp -a $_pkg/boxbackup-${VERSION}-backup-server-linux-gnu/ra* $fs/usr/bin 2.23 mkdir -p $fs/etc/init.d 2.24 cp -a stuff/bbstored $fs/etc/init.d 2.25 }