wok-6.x annotate perl-maketext-gettext/receipt @ rev 24181
updated perl-berkeleydb (0.63 -> 0.64)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 13:39:16 2021 +0100 (2021-12-31) |
parents | 20661c276bcf |
children | c09183e8534a |
rev | line source |
---|---|
erjo@2647 | 1 # SliTaz package receipt. |
erjo@2647 | 2 |
erjo@2647 | 3 PACKAGE="perl-maketext-gettext" |
erjo@2647 | 4 VERSION="1.26" |
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" |
erjo@2647 | 9 DEPENDS="perl" |
erjo@2647 | 10 BUILD_DEPENDS="perl" |
erjo@2647 | 11 SOURCE="Locale-Maketext-Gettext" |
erjo@2647 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@24103 | 13 WEB_SITE="https://metacpan.org/dist/Locale-Maketext-Gettext" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/I/IM/IMACAT/$TARBALL" |
erjo@2647 | 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 |
erjo@2647 | 22 # Rules to configure and make the package. |
erjo@2647 | 23 compile_rules() |
erjo@2647 | 24 { |
erjo@2647 | 25 cd $src |
erjo@2647 | 26 perl Makefile.PL |
erjo@2647 | 27 make |
pascal@14702 | 28 make DESTDIR=$DESTDIR install |
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 { |
erjo@2647 | 34 mkdir -p $fs/usr |
pascal@14702 | 35 cp -a $install/usr/lib $fs/usr |
erjo@2647 | 36 } |
erjo@2647 | 37 |