wok view par2/receipt @ rev 25694

dropbear: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 14:12:01 2024 +0000 (5 weeks ago)
parents 5ea0ce1cecc0
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./automake.sh &&
30 ./configure \
31 CC=gcc-83 \
32 CXX=g++-83 \
33 --prefix=/usr \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/doc
45 cp $src/README $fs/usr/share/doc
46 cp -a $install/usr/bin $fs/usr
47 }