wok-next diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/par2/receipt Wed Mar 16 09:11:37 2011 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="par2" 1.7 +SOURCE="par2cmdline" 1.8 +VERSION="0.4" 1.9 +CATEGORY="system" 1.10 +SHORT_DESC="Utility for posting and recovery of multi-part archives." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://parchive.sourceforge.net/" 1.14 +WGET_URL="$SF_MIRROR/parchive/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + #http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch 1.21 + patch -p1 < ../stuff/par2cmdline-0.4-gcc4.patch || true 1.22 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.23 + --mandir=/usr/share/man \ 1.24 + $CONFIGURE_ARGS && 1.25 + make && 1.26 + make DESTDIR=$PWD/_pkg install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + cp -a $_pkg/usr $fs 1.33 +}