wok-6.x view par2/receipt @ rev 20122
Up get-palemoon (27.5.1)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Oct 15 01:12:55 2017 +0200 (2017-10-15) |
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 }