wok-6.x view par2/receipt @ rev 15375
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 18 19:43:55 2013 +0000 (2013-10-18) |
parents | d1768332cee0 |
children | 97e4114f1224 |
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 cd $src
20 #http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch
21 patch -p1 < $stuff/par2cmdline-0.4-gcc4.patch || true
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }