wok-current diff p7zip-full/receipt @ rev 4591
Add speedtouch modem
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Dec 10 13:29:28 2009 +0000 (2009-12-10) |
parents | f1362553414e |
children | f74dc451a4f8 |
line diff
1.1 --- a/p7zip-full/receipt Wed Jul 30 19:16:11 2008 +0200 1.2 +++ b/p7zip-full/receipt Thu Dec 10 13:29:28 2009 +0000 1.3 @@ -6,7 +6,6 @@ 1.4 CATEGORY="utilities" 1.5 SHORT_DESC="A file archiver with a high compression ratio (full version with restricted codecs)" 1.6 MAINTAINER="milka@konstelacioj.info" 1.7 -#DEPENDS="" 1.8 TARBALL="${SOURCE}_${VERSION}_src_all.tar.bz2" 1.9 WEB_SITE="http://p7zip.sourceforge.net/" 1.10 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" 1.11 @@ -17,14 +16,19 @@ 1.12 mv "$SOURCE"_"$VERSION" $src 1.13 cd $src 1.14 make all3 1.15 + make DEST_HOME=$PWD/_pkg/usr install 1.16 } 1.17 1.18 # Rules to gen a SliTaz package suitable for Tazpkg. 1.19 genpkg_rules() 1.20 { 1.21 mkdir -p $fs/usr 1.22 - cp -a $src/bin $fs/usr 1.23 - strip -s $fs/usr/bin/* 1.24 + cp -a $_pkg/usr/bin $fs/usr 1.25 + cp -a $_pkg/usr/lib $fs/usr 1.26 + 1.27 + # Fix pathname in 7z scripts 1.28 + sed -i -e "s#$_pkg##" $fs/usr/bin/7z 1.29 + sed -i -e "s#$_pkg##" $fs/usr/bin/7za 1.30 + sed -i -e "s#$_pkg##" $fs/usr/bin/7zr 1.31 } 1.32 1.33 -