wok-current annotate perl-locale-gettext/receipt @ rev 20682
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 27 17:42:10 2019 +0100 (2019-01-27) |
parents | 6e8b1bcb30e2 |
children | aad106864a1c |
rev | line source |
---|---|
slaxemulator@7403 | 1 # SliTaz package receipt. |
slaxemulator@7403 | 2 |
slaxemulator@7403 | 3 PACKAGE="perl-locale-gettext" |
slaxemulator@7403 | 4 VERSION="1.05" |
slaxemulator@7403 | 5 CATEGORY="development" |
slaxemulator@7403 | 6 SHORT_DESC="Permits access from Perl to the gettext() family of functions." |
slaxemulator@7403 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@7403 | 9 DEPENDS="perl gettext-base" |
slaxemulator@7403 | 10 BUILD_DEPENDS="$DEPENDS" |
slaxemulator@7403 | 11 SOURCE="gettext" |
slaxemulator@7403 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 13 WEB_SITE="https://metacpan.org/release/gettext/" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/P/PV/PVANDRY/$TARBALL" |
slaxemulator@7403 | 15 |
slaxemulator@7403 | 16 # Rules to configure and make the package. |
slaxemulator@7403 | 17 compile_rules() |
slaxemulator@7403 | 18 { |
slaxemulator@7403 | 19 cd $src |
slaxemulator@9700 | 20 patch -Np1 -i $stuff/compatibility-with-POSIX-module.patch |
slaxemulator@7403 | 21 perl Makefile.PL |
slaxemulator@7403 | 22 make |
pascal@14702 | 23 make DESTDIR="$DESTDIR" install |
slaxemulator@7403 | 24 } |
slaxemulator@7403 | 25 |
slaxemulator@7403 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7403 | 27 genpkg_rules() |
slaxemulator@7403 | 28 { |
slaxemulator@7403 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
slaxemulator@7403 | 31 find "$fs" -name perllocal.pod -delete |
slaxemulator@7403 | 32 find "$fs" -name .packlist -delete |
slaxemulator@7403 | 33 } |
slaxemulator@7403 | 34 |