wok-current view par2/receipt @ rev 25458

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 27 16:21:52 2022 +0000 (2022-09-27)
parents b6ad3bff03b2
children
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 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;/par2cmdline-/!d;s|.*/par2cmdline-\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./automake.sh &&
29 ./configure \
30 CC=gcc-83 \
31 CXX=g++-83 \
32 --prefix=/usr \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/doc
44 cp $src/README $fs/usr/share/doc
45 cp -a $install/usr/bin $fs/usr
46 }