wok-current rev 14583

drbl: fix TARBALL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 26 17:50:47 2013 +0200 (2013-05-26)
parents 749ffdd335d7
children e7715ace8431
files drbl/receipt
line diff
     1.1 --- a/drbl/receipt	Sun May 26 17:48:34 2013 +0200
     1.2 +++ b/drbl/receipt	Sun May 26 17:50:47 2013 +0200
     1.3 @@ -7,8 +7,8 @@
     1.4  the GNU/Linux operating system across many clients"
     1.5  MAINTAINER="shann@slitaz.org"
     1.6  WEB_SITE="http://drbl.org"
     1.7 -TARBALL="http://free.nchc.org.tw/$PACKAGE-core/src/stable/$PACKAGE-$VERSION.tar.bz2"
     1.8 -WGET_URL="$TARBALL"
     1.9 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10 +WGET_URL="http://free.nchc.org.tw/$PACKAGE-core/src/stable/$TARBALL"
    1.11  
    1.12  DEPENDS="perl bc"
    1.13  BUILD_DEPENDS="vim"
    1.14 @@ -17,14 +17,14 @@
    1.15  compile_rules()
    1.16  {
    1.17  	cd $src
    1.18 -	make DESTDIR=$PWD/_pkg install
    1.19 +	make DESTDIR=$DESTDIR install
    1.20  }
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	cp -a $_pkg/etc $fs/
    1.26 -	cp -a $_pkg/usr/bin $fs/usr
    1.27 -	cp -a $_pkg/usr/sbin $fs/usr
    1.28 -	cp -a $_pkg/usr/share $fs/usr
    1.29 +	cp -a $install/etc $fs/
    1.30 +	cp -a $install/usr/bin $fs/usr
    1.31 +	cp -a $install/usr/sbin $fs/usr
    1.32 +	cp -a $install/usr/share $fs/usr
    1.33  }