wok-6.x annotate perl-gssapi/receipt @ rev 24288
fail2ban: add log4j-jndi.conf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 13 18:29:05 2022 +0000 (2022-01-13) |
parents | 735df6bb9ab7 |
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" |
Hans-G?nter@23339 | 9 WEB_SITE="https://metacpan.org/release/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@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pascal@1666 | 24 # Rules to configure and make the package. |
pascal@1666 | 25 compile_rules() |
pascal@1666 | 26 { |
pascal@1666 | 27 perl Makefile.PL && |
pascal@1666 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@1666 | 30 } |
pascal@1666 | 31 |
pascal@1666 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1666 | 33 genpkg_rules() |
pascal@1666 | 34 { |
pascal@1666 | 35 mkdir -p $fs/usr |
Hans-G?nter@23339 | 36 cp -a $install/usr/lib $fs/usr |
pascal@1666 | 37 } |