wok annotate par2/receipt @ rev 9568

Up: lftp to 4.2.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Apr 11 23:09:40 2011 +0000 (2011-04-11)
parents 6551d4df1ace
children d1768332cee0
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@9562 6 CATEGORY="system-tools"
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@9283 12 DEPENDS="gcc-lib-base"
pascal@9280 13
pascal@9280 14 # Rules to configure and make the package.
pascal@9280 15 compile_rules()
pascal@9280 16 {
pascal@9280 17 cd $src
pascal@9280 18 #http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch
pascal@9280 19 patch -p1 < ../stuff/par2cmdline-0.4-gcc4.patch || true
pascal@9280 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@9280 21 --mandir=/usr/share/man \
pascal@9280 22 $CONFIGURE_ARGS &&
pascal@9280 23 make &&
pascal@9280 24 make DESTDIR=$PWD/_pkg install
pascal@9280 25 }
pascal@9280 26
pascal@9280 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9280 28 genpkg_rules()
pascal@9280 29 {
pascal@9280 30 cp -a $_pkg/usr $fs
pascal@9280 31 }