wok annotate perl-gssapi/receipt @ rev 25593

perl-gssapi: update web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 24 08:24:26 2023 +0000 (2023-06-24)
parents 15650f5d595b
children
rev   line source
pascal@1666 1 # SliTaz package receipt.
pascal@1666 2
pascal@1666 3 PACKAGE="perl-gssapi"
Hans-Günter@23339 4 VERSION="0.28"
pascal@1666 5 CATEGORY="development"
Hans-Günter@23339 6 SHORT_DESC="Perl extension GSSAPI."
pascal@1666 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
pascal@25593 9 WEB_SITE="https://metacpan.org/dist/GSSAPI"
Hans-Günter@23339 10
pascal@1666 11 SOURCE="GSSAPI"
pascal@1666 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-Günter@23339 13 WGET_URL="https://cpan.metacpan.org/authors/id/A/AG/AGROLMS/$TARBALL"
Hans-Günter@23339 14
Hans-Günter@23339 15 DEPENDS="libcomerr libcomerr3 libkrb5 perl"
Hans-Günter@23339 16 BUILD_DEPENDS="krb5 krb5-dev perl"
pascal@1666 17
pascal@25593 18 # What is the latest version available today?
pascal@24102 19 current_version()
pascal@24102 20 {
pascal@24102 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 23 }
pascal@24102 24
pascal@1666 25 # Rules to configure and make the package.
pascal@1666 26 compile_rules()
pascal@1666 27 {
pascal@1666 28 perl Makefile.PL &&
pascal@1666 29 make &&
pascal@14702 30 make DESTDIR=$DESTDIR install
pascal@1666 31 }
pascal@1666 32
pascal@1666 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1666 34 genpkg_rules()
pascal@1666 35 {
pascal@1666 36 mkdir -p $fs/usr
Hans-Günter@23339 37 cp -a $install/usr/lib $fs/usr
pascal@1666 38 }