wok-4.x 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 65a6365f0550
children 9063e718f470
files p7zip-full/receipt p7zip/receipt
line diff
     1.1 --- a/p7zip-full/receipt	Wed Jul 30 12:12:44 2008 +0000
     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  
     2.1 --- a/p7zip/receipt	Wed Jul 30 12:12:44 2008 +0000
     2.2 +++ b/p7zip/receipt	Wed Jul 30 19:16:11 2008 +0200
     2.3 @@ -6,7 +6,7 @@
     2.4  SHORT_DESC="A file archiver with a high compression ratio (supports only 7z archives)"
     2.5  MAINTAINER="milka@konstelacioj.info"
     2.6  #DEPENDS=""
     2.7 -TARBALL="$PACKAGE"_"$VERSION"_"src"_"all.tar.bz2"
     2.8 +TARBALL="${PACKAGE}_${VERSION}_src_all.tar.bz2"
     2.9  WEB_SITE="http://p7zip.sourceforge.net/"
    2.10  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.11  
    2.12 @@ -16,15 +16,13 @@
    2.13  	mv "$PACKAGE"_"$VERSION" $src
    2.14  	cd $src
    2.15  	make 7zr
    2.16 -	mkdir -p $PWD/_pkg/usr
    2.17 -	mv $PWD/bin $PWD/_pkg/usr/
    2.18  }
    2.19  
    2.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.21  genpkg_rules()
    2.22  {
    2.23  	mkdir -p $fs/usr
    2.24 -	cp -a $_pkg/usr/bin $fs/usr
    2.25 +	cp -a $src/bin $fs/usr
    2.26  	strip -s $fs/usr/bin/*
    2.27  }
    2.28