wok annotate perl-unicode-map/receipt @ rev 25324
updated squid, squid-auth-helpers and squid-langpack (3.4.2 -> 5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 22 17:10:45 2022 +0100 (2022-07-22) |
parents | 2d12ebd38be4 |
children |
rev | line source |
---|---|
pascal@1603 | 1 # SliTaz package receipt. |
pascal@1603 | 2 |
pascal@1603 | 3 PACKAGE="perl-unicode-map" |
pascal@1603 | 4 VERSION="0.112" |
pascal@1603 | 5 CATEGORY="development" |
pascal@1603 | 6 SHORT_DESC="Unicode::Map module is a Perl extension." |
pascal@1603 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@1603 | 9 DEPENDS="perl" |
pascal@1603 | 10 BUILD_DEPENDS="perl" |
pascal@1603 | 11 SOURCE="Unicode-Map" |
pascal@1603 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@24103 | 13 WEB_SITE="https://metacpan.org/dist/Unicode-Map" |
pascal@1603 | 14 WGET_URL="http://cpan.org/authors/id/M/MS/MSCHWARTZ/$TARBALL" |
pascal@1603 | 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@1603 | 22 # Rules to configure and make the package. |
pascal@1603 | 23 compile_rules() |
pascal@1603 | 24 { |
pascal@1603 | 25 cd $src |
pascal@1603 | 26 perl Makefile.PL |
pascal@1603 | 27 make |
pascal@14702 | 28 make DESTDIR=$DESTDIR install |
pascal@1603 | 29 } |
pascal@1603 | 30 |
pascal@1603 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1603 | 32 genpkg_rules() |
pascal@1603 | 33 { |
pascal@1603 | 34 mkdir -p $fs/usr |
pascal@14702 | 35 cp -a $install/usr/lib $fs/usr |
pascal@1603 | 36 } |
pascal@1603 | 37 |