wok-current annotate par2/receipt @ rev 9283
backuppc: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 16 09:39:58 2011 +0100 (2011-03-16) |
parents | ffa07731ee84 |
children | 9443090ed44d |
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@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 } |