wok view par2/receipt @ rev 10369

xorg-libXinerama: can't cross (use host cc)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 03:43:26 2011 +0200 (2011-05-23)
parents 9443090ed44d
children 51a1ebbda768
line source
1 # SliTaz package receipt.
3 PACKAGE="par2"
4 SOURCE="par2cmdline"
5 VERSION="0.4"
6 CATEGORY="system-tools"
7 SHORT_DESC="Utility for posting and recovery of multi-part archives."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://parchive.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/parchive/$TARBALL"
12 DEPENDS="gcc-lib-base"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 #http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch
19 patch -p1 < $stuff/par2cmdline-0.4-gcc4.patch || true
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $_pkg/usr $fs
31 }