wok-current annotate perl-lwp-mediatypes/receipt @ rev 24393

updated calcurse (4.5.1 -> 4.7.1)
author Hans-G?nter Theisgen
date Tue Feb 08 09:44:59 2022 +0100 (2022-02-08)
parents 856133701cb2
children
rev   line source
slaxemulator@11842 1 # SliTaz package receipt.
slaxemulator@11842 2
slaxemulator@11842 3 PACKAGE="perl-lwp-mediatypes"
Hans-G?nter@23364 4 VERSION="6.04"
slaxemulator@11842 5 CATEGORY="development"
Hans-G?nter@23364 6 SHORT_DESC="Guess media type for a file or an URL."
slaxemulator@11842 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14702 8 LICENSE="GPL"
pascal@20671 9 WEB_SITE="https://metacpan.org/release/LWP-MediaTypes"
Hans-G?nter@23364 10
slaxemulator@11842 11 SOURCE="LWP-MediaTypes"
slaxemulator@11842 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23364 13 WGET_URL="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$TARBALL"
slaxemulator@11842 14
slaxemulator@11842 15 DEPENDS="perl"
slaxemulator@11842 16 BUILD_DEPENDS="perl"
slaxemulator@11842 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
slaxemulator@11842 24 # Rules to configure and make the package.
slaxemulator@11842 25 compile_rules()
slaxemulator@11842 26 {
slaxemulator@11842 27 perl Makefile.PL &&
slaxemulator@11842 28 make &&
slaxemulator@11842 29 make DESTDIR=$DESTDIR install
slaxemulator@11842 30 }
slaxemulator@11842 31
slaxemulator@11842 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@11842 33 genpkg_rules()
slaxemulator@11842 34 {
Hans-G?nter@23364 35 cp -a $install/* $fs
slaxemulator@11842 36 }