wok-6.x annotate perl-locale-maketext-lexicon/receipt @ rev 24521
updated ettercap (0.8.3 -> 0.8.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 15:47:04 2022 +0100 (2022-02-22) |
parents | d5f132bdab21 |
children |
rev | line source |
---|---|
pascal@1663 | 1 # SliTaz package receipt. |
pascal@1663 | 2 |
pascal@1663 | 3 PACKAGE="perl-locale-maketext-lexicon" |
Hans-G?nter@23362 | 4 VERSION="1.00" |
pascal@1663 | 5 CATEGORY="development" |
Hans-G?nter@23362 | 6 SHORT_DESC="Perl extension Locale::Maketext::Lexicon." |
pascal@1663 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23362 | 9 WEB_SITE="https://metacpan.org/release/Locale-Maketext-Lexicon" |
Hans-G?nter@23362 | 10 |
Hans-G?nter@23362 | 11 SOURCE="Locale-Maketext-Lexicon" |
Hans-G?nter@23362 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23362 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Locale/$TARBALL" |
Hans-G?nter@23362 | 14 |
pascal@1663 | 15 DEPENDS="perl" |
pascal@1663 | 16 BUILD_DEPENDS="perl" |
pascal@1663 | 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 |
pascal@1663 | 24 # Rules to configure and make the package. |
pascal@1663 | 25 compile_rules() |
pascal@1663 | 26 { |
pascal@1663 | 27 perl Makefile.PL && |
pascal@1663 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@1663 | 30 } |
pascal@1663 | 31 |
pascal@1663 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1663 | 33 genpkg_rules() |
pascal@1663 | 34 { |
pascal@1663 | 35 mkdir -p $fs/usr |
Hans-G?nter@23362 | 36 cp -a $install/usr/lib $fs/usr |
pascal@1663 | 37 } |