wok-current annotate perl-maketext-gettext/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | ca4a422cce07 |
children |
rev | line source |
---|---|
erjo@2647 | 1 # SliTaz package receipt. |
erjo@2647 | 2 |
erjo@2647 | 3 PACKAGE="perl-maketext-gettext" |
Hans-G?nter@24237 | 4 VERSION="1.32" |
erjo@2647 | 5 CATEGORY="development" |
erjo@2647 | 6 SHORT_DESC="Perl gettext and Maketext frameworks" |
erjo@2647 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
Hans-G?nter@24237 | 9 WEB_SITE="https://metacpan.org/pod/Locale::Maketext::Gettext" |
Hans-G?nter@24237 | 10 RPOLOGYE="perl:locale-maketext-gettext" |
Hans-G?nter@24237 | 11 SOURCE="Locale-Maketext-Gettext" |
Hans-G?nter@24237 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24237 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Locale/$TARBALL" |
erjo@2647 | 14 DEPENDS="perl" |
erjo@2647 | 15 BUILD_DEPENDS="perl" |
erjo@2647 | 16 |
pascal@24103 | 17 current_version() |
pascal@24103 | 18 { |
pascal@24103 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 21 } |
pascal@24103 | 22 |
erjo@2647 | 23 # Rules to configure and make the package. |
erjo@2647 | 24 compile_rules() |
erjo@2647 | 25 { |
Hans-G?nter@24237 | 26 perl Makefile.PL && |
Hans-G?nter@24237 | 27 make && |
Hans-G?nter@24237 | 28 make install DESTDIR=$DESTDIR |
erjo@2647 | 29 } |
erjo@2647 | 30 |
erjo@2647 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2647 | 32 genpkg_rules() |
erjo@2647 | 33 { |
Hans-G?nter@24237 | 34 cook_copy_folders lib |
erjo@2647 | 35 } |