wok view par2/receipt @ rev 9280

Add par2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 16 09:11:37 2011 +0100 (2011-03-16)
parents
children 6551d4df1ace
line source
1 # SliTaz package receipt.
3 PACKAGE="par2"
4 SOURCE="par2cmdline"
5 VERSION="0.4"
6 CATEGORY="system"
7 SHORT_DESC="Utility for posting and recovery of multi-part archives."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://parchive.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/parchive/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 #http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch
18 patch -p1 < ../stuff/par2cmdline-0.4-gcc4.patch || true
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $_pkg/usr $fs
30 }