wok-4.x view par2/receipt @ rev 12073

tuxtype: fix bdeps & ensure properly placed files
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 05:11:48 2012 +0100 (2012-03-09)
parents 9443090ed44d
children
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 }