wok-current view par2/receipt @ rev 12938

Up: aria2 to 1.15.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed May 30 04:52:44 2012 +0000 (2012-05-30)
parents 9443090ed44d
children 51a1ebbda768
line source
1 # SliTaz package receipt.
3 PACKAGE="par2"
4 SOURCE="par2cmdline"
5 VERSION="0.4"
6 CATEGORY="system-tools"
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"
12 DEPENDS="gcc-lib-base"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 #http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch
19 patch -p1 < $stuff/par2cmdline-0.4-gcc4.patch || true
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $_pkg/usr $fs
31 }