wok-current annotate perl-test-pod/receipt @ rev 24376

created recipes for libboost-locale and libboost-locale-dev
author Hans-G?nter Theisgen
date Sun Feb 06 09:40:33 2022 +0100 (2022-02-06)
parents f24a6593156b
children
rev   line source
slaxemulator@9297 1 # SliTaz package receipt.
slaxemulator@9297 2
slaxemulator@9297 3 PACKAGE="perl-test-pod"
Hans-G?nter@23400 4 VERSION="1.52"
slaxemulator@9297 5 CATEGORY="development"
Hans-G?nter@23400 6 SHORT_DESC="Perl extension Test::Pod."
slaxemulator@9297 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@23400 9 WEB_SITE="https://metacpan.org/release/Test-Pod"
Hans-G?nter@23400 10
Hans-G?nter@23400 11 SOURCE="Test-Pod"
Hans-G?nter@23400 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23400 13 WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL"
Hans-G?nter@23400 14
slaxemulator@9297 15 DEPENDS="perl"
slaxemulator@9297 16 BUILD_DEPENDS="perl"
slaxemulator@9297 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@9297 24 # Rules to configure and make the package.
slaxemulator@9297 25 compile_rules()
slaxemulator@9297 26 {
slaxemulator@9297 27 perl Makefile.PL &&
slaxemulator@9297 28 make &&
pascal@14702 29 make DESTDIR=$DESTDIR install
slaxemulator@9297 30 }
slaxemulator@9297 31
slaxemulator@9297 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9297 33 genpkg_rules()
slaxemulator@9297 34 {
slaxemulator@9297 35 mkdir -p $fs/usr
Hans-G?nter@23400 36 cp -a $install/usr/lib $fs/usr
slaxemulator@9297 37 }