wok-next view par2/receipt @ rev 12010
stella: added desc, removed extension from desktop file
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Mon Mar 05 16:40:06 2012 -0800 (2012-03-05) |
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 }