wok annotate perl-text-aspell/receipt @ rev 25421

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 10 07:02:08 2022 +0000 (2022-08-10)
parents ca4a422cce07
children
rev   line source
pascal@2242 1 # SliTaz package receipt.
pascal@2242 2
pascal@2242 3 PACKAGE="perl-text-aspell"
pascal@2242 4 VERSION="0.09"
pascal@2242 5 CATEGORY="development"
pascal@2242 6 SHORT_DESC="Text::Aspell module is a Perl extension."
pascal@2242 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
pascal@5005 9 DEPENDS="perl aspell gcc-lib-base"
pascal@2242 10 BUILD_DEPENDS="perl aspell aspell-dev"
pascal@2242 11 SOURCE="Text-Aspell"
pascal@2242 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@24103 13 WEB_SITE="https://metacpan.org/dist/Text-Aspell"
pascal@24975 14 WGET_URL="https://cpan.metacpan.org/authors/id/H/HA/HANK/$TARBALL"
pascal@2242 15
pascal@24103 16 current_version()
pascal@24103 17 {
pascal@24103 18 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24103 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24103 20 }
pascal@24103 21
pascal@2242 22 # Rules to configure and make the package.
pascal@2242 23 compile_rules()
pascal@2242 24 {
pascal@2242 25 mv $SOURCE $src 2> /dev/null
pascal@2242 26 cd $src
pascal@2242 27 perl Makefile.PL &&
pascal@2242 28 make &&
pascal@14702 29 make DESTDIR=$DESTDIR install
pascal@2242 30 }
pascal@2242 31
pascal@2242 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2242 33 genpkg_rules()
pascal@2242 34 {
pascal@2242 35 mkdir -p $fs/usr
pascal@14702 36 cp -a $install/usr/lib $fs/usr
pascal@2242 37 }
pascal@2242 38