wok-current annotate par2/receipt @ rev 13392
Updated several packages
author | Brenton Scott <admin@trixarian.net> |
---|---|
date | Tue Sep 25 02:35:20 2012 +0200 (2012-09-25) |
parents | 9443090ed44d |
children | 51a1ebbda768 |
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 |
slaxemulator@9700 | 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 } |