wok annotate p7zip/receipt @ rev 1166

postfix: fix depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 30 12:09:40 2008 +0000 (2008-07-30)
parents
children f1362553414e
rev   line source
milka@1164 1 # SliTaz package receipt.
milka@1164 2
milka@1164 3 PACKAGE="p7zip"
milka@1164 4 VERSION="4.58"
milka@1164 5 CATEGORY="utilities"
milka@1164 6 SHORT_DESC="A file archiver with a high compression ratio (supports only 7z archives)"
milka@1164 7 MAINTAINER="milka@konstelacioj.info"
milka@1164 8 #DEPENDS=""
milka@1164 9 TARBALL="$PACKAGE"_"$VERSION"_"src"_"all.tar.bz2"
milka@1164 10 WEB_SITE="http://p7zip.sourceforge.net/"
milka@1164 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
milka@1164 12
milka@1164 13 # Rules to configure and make the package.
milka@1164 14 compile_rules()
milka@1164 15 {
milka@1164 16 mv "$PACKAGE"_"$VERSION" $src
milka@1164 17 cd $src
milka@1164 18 make 7zr
milka@1164 19 mkdir -p $PWD/_pkg/usr
milka@1164 20 mv $PWD/bin $PWD/_pkg/usr/
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
milka@1164 27 cp -a $_pkg/usr/bin $fs/usr
milka@1164 28 strip -s $fs/usr/bin/*
milka@1164 29 }
milka@1164 30