wok diff p7zip-full/receipt @ rev 1168

p7zip / p7zip-full simplified
author Michael Dupont <milka@konstelacioj.info>
date Wed Jul 30 19:16:11 2008 +0200 (2008-07-30)
parents 9c8c544854ff
children a476c9adf53b
line diff
     1.1 --- a/p7zip-full/receipt	Tue Jul 29 20:49:37 2008 +0200
     1.2 +++ b/p7zip-full/receipt	Wed Jul 30 19:16:11 2008 +0200
     1.3 @@ -7,9 +7,9 @@
     1.4  SHORT_DESC="A file archiver with a high compression ratio (full version with restricted codecs)"
     1.5  MAINTAINER="milka@konstelacioj.info"
     1.6  #DEPENDS=""
     1.7 -TARBALL="$SOURCE"_"$VERSION"_"src"_"all.tar.bz2"
     1.8 +TARBALL="${SOURCE}_${VERSION}_src_all.tar.bz2"
     1.9  WEB_SITE="http://p7zip.sourceforge.net/"
    1.10 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.11 +WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15 @@ -17,15 +17,13 @@
    1.16  	mv "$SOURCE"_"$VERSION" $src
    1.17  	cd $src
    1.18  	make all3
    1.19 -	mkdir -p $PWD/_pkg/usr/
    1.20 -	mv $PWD/bin $PWD/_pkg/usr/
    1.21  }
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26  	mkdir -p $fs/usr
    1.27 -	cp -a $_pkg/usr/bin $fs/usr
    1.28 +	cp -a $src/bin $fs/usr
    1.29  	strip -s $fs/usr/bin/*
    1.30  }
    1.31