wok annotate par2/receipt @ rev 24181

updated perl-berkeleydb (0.63 -> 0.64)
author Hans-G?nter Theisgen
date Fri Dec 31 13:39:16 2021 +0100 (2021-12-31)
parents b6ad3bff03b2
children 0262035dc1e7
rev   line source
pascal@9280 1 # SliTaz package receipt.
pascal@9280 2
pascal@9280 3 PACKAGE="par2"
Hans-G?nter@23275 4 VERSION="0.8.1"
pascal@9562 5 CATEGORY="system-tools"
pascal@9280 6 SHORT_DESC="Utility for posting and recovery of multi-part archives."
pascal@9280 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15375 8 LICENSE="GPL2"
Hans-G?nter@23275 9 WEB_SITE="https://github.com/Parchive/par2cmdline"
Hans-G?nter@23275 10
Hans-G?nter@23275 11 SOURCE="par2cmdline"
pascal@9280 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23275 13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
Hans-G?nter@23275 14
pascal@20747 15 PROVIDE="par2cmdline"
Hans-G?nter@23275 16 DEPENDS="gcc83-lib-base"
Hans-G?nter@23275 17 BUILD_DEPENDS="automake gcc83"
pascal@9280 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;/par2cmdline-/!d;s|.*/par2cmdline-\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
pascal@9280 25 # Rules to configure and make the package.
pascal@9280 26 compile_rules()
pascal@9280 27 {
Hans-G?nter@23275 28 ./automake.sh &&
Hans-G?nter@23275 29 ./configure \
Hans-G?nter@23275 30 CC=gcc-83 \
Hans-G?nter@23275 31 CXX=g++-83 \
Hans-G?nter@23275 32 --prefix=/usr \
Hans-G?nter@23275 33 --mandir=/usr/share/man \
pascal@20747 34 $CONFIGURE_ARGS &&
pascal@9280 35 make &&
pascal@15375 36 make DESTDIR=$DESTDIR install
pascal@9280 37 }
pascal@9280 38
pascal@9280 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9280 40 genpkg_rules()
pascal@9280 41 {
pascal@20747 42 mkdir -p $fs/usr/share/doc
Hans-G?nter@23275 43
Hans-G?nter@23275 44 cp $src/README $fs/usr/share/doc
Hans-G?nter@23275 45 cp -a $install/usr/bin $fs/usr
pascal@9280 46 }