wok view p7zip/receipt @ rev 1164

Add: p7zip and p7zip-full
author Michael Dupont <milka@konstelacioj.info>
date Tue Jul 29 20:49:37 2008 +0200 (2008-07-29)
parents
children f1362553414e
line source
1 # SliTaz package receipt.
3 PACKAGE="p7zip"
4 VERSION="4.58"
5 CATEGORY="utilities"
6 SHORT_DESC="A file archiver with a high compression ratio (supports only 7z archives)"
7 MAINTAINER="milka@konstelacioj.info"
8 #DEPENDS=""
9 TARBALL="$PACKAGE"_"$VERSION"_"src"_"all.tar.bz2"
10 WEB_SITE="http://p7zip.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mv "$PACKAGE"_"$VERSION" $src
17 cd $src
18 make 7zr
19 mkdir -p $PWD/_pkg/usr
20 mv $PWD/bin $PWD/_pkg/usr/
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 strip -s $fs/usr/bin/*
29 }