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