wok view par2/receipt @ rev 23876
Up dropbear (2020.80)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 01 14:12:33 2020 +0000 (2020-07-01) |
parents | 6f2188ee6be5 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="par2"
4 VERSION="0.8.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utility for posting and recovery of multi-part archives."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/Parchive/par2cmdline"
11 SOURCE="par2cmdline"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
15 PROVIDE="par2cmdline"
16 DEPENDS="gcc83-lib-base"
17 BUILD_DEPENDS="automake gcc83"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./automake.sh &&
23 ./configure \
24 CC=gcc-83 \
25 CXX=g++-83 \
26 --prefix=/usr \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/doc
38 cp $src/README $fs/usr/share/doc
39 cp -a $install/usr/bin $fs/usr
40 }