wok view par2/receipt @ rev 20603

Update iptraf & gcc3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 17 12:19:32 2018 +0100 (2018-12-17)
parents 51a1ebbda768
children 6f2188ee6be5
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 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://parchive.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/parchive/$TARBALL"
14 DEPENDS="gcc-lib-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 #http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch
20 patch -p1 < $stuff/par2cmdline-0.4-gcc4.patch || true
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 mkdir -p $install/usr/share/doc
33 cp $src/README $src/ROADMAP $install/usr/share/doc
34 }