wok annotate perl-json-pp/receipt @ rev 24106

updated actionmailer, actionpack, activerecord and activesupport (6.0.2.1 -> 6.1.4.1)
author Hans-G?nter Theisgen
date Sat Sep 25 17:38:40 2021 +0100 (2021-09-25)
parents 2c0ff3a9d1f1
children f9c7aea3d4f2
rev   line source
pascal@20469 1 # SliTaz package receipt.
pascal@20469 2
pascal@20469 3 PACKAGE="perl-json-pp"
Hans-G?nter@23358 4 VERSION="4.04"
pascal@20469 5 CATEGORY="development"
Hans-G?nter@23358 6 SHORT_DESC="Perl extension JSON::PP."
pascal@20469 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20469 8 LICENSE="GPL"
Hans-G?nter@23358 9 WEB_SITE="https://metacpan.org/release/JSON-PP"
Hans-G?nter@23358 10
Hans-G?nter@23358 11 SOURCE="JSON-PP"
Hans-G?nter@23358 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23358 13 WGET_URL="https://www.cpan.org/modules/by-module/JSON/$TARBALL"
Hans-G?nter@23358 14
pascal@20469 15 DEPENDS="perl"
pascal@20469 16 BUILD_DEPENDS="perl"
pascal@20469 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@20469 24 # Rules to configure and make the package.
pascal@20469 25 compile_rules()
pascal@20469 26 {
pascal@20469 27 perl Makefile.PL &&
pascal@20469 28 make &&
pascal@20469 29 make DESTDIR=$DESTDIR install
pascal@20469 30 }
pascal@20469 31
pascal@20469 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20469 33 genpkg_rules()
pascal@20469 34 {
pascal@20469 35 mkdir -p $fs/usr
Hans-G?nter@23358 36 cp -a $install/usr/lib $fs/usr
pascal@20469 37 }