wok annotate p7zip-full/receipt @ rev 8740

add libsqlite
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Feb 19 21:47:26 2011 +0100 (2011-02-19)
parents f74dc451a4f8
children 129bb5b11a7e
rev   line source
milka@1164 1 # SliTaz package receipt.
milka@1164 2
milka@1164 3 PACKAGE="p7zip-full"
milka@1164 4 SOURCE="p7zip"
devl547@5695 5 VERSION="9.13"
milka@1164 6 CATEGORY="utilities"
milka@1164 7 SHORT_DESC="A file archiver with a high compression ratio (full version with restricted codecs)"
milka@1164 8 MAINTAINER="milka@konstelacioj.info"
milka@1168 9 TARBALL="${SOURCE}_${VERSION}_src_all.tar.bz2"
milka@1164 10 WEB_SITE="http://p7zip.sourceforge.net/"
milka@1168 11 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
slaxemulator@8436 12 SRC_WANTED="$SOURCE"
milka@1164 13
milka@1164 14 # Rules to configure and make the package.
milka@1164 15 compile_rules()
milka@1164 16 {
milka@1164 17 mv "$SOURCE"_"$VERSION" $src
milka@1164 18 cd $src
milka@1164 19 make all3
erjo@1192 20 make DEST_HOME=$PWD/_pkg/usr install
milka@1164 21 }
milka@1164 22
milka@1164 23 # Rules to gen a SliTaz package suitable for Tazpkg.
milka@1164 24 genpkg_rules()
milka@1164 25 {
milka@1164 26 mkdir -p $fs/usr
erjo@1192 27 cp -a $_pkg/usr/bin $fs/usr
erjo@1192 28 cp -a $_pkg/usr/lib $fs/usr
erjo@1192 29
erjo@1192 30 # Fix pathname in 7z scripts
erjo@1192 31 sed -i -e "s#$_pkg##" $fs/usr/bin/7z
erjo@1192 32 sed -i -e "s#$_pkg##" $fs/usr/bin/7za
erjo@1192 33 sed -i -e "s#$_pkg##" $fs/usr/bin/7zr
milka@1164 34 }
milka@1164 35