wok annotate perl-geo-ipfree/receipt @ rev 25234
updated python-routes (2.4.1 -> 2.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:31:59 2022 +0100 (2022-07-13) |
parents | bba2ce5f64b0 |
children | 0af8df0b46fc |
rev | line source |
---|---|
erjo@2648 | 1 # SliTaz package receipt. |
erjo@2648 | 2 |
pascal@2651 | 3 PACKAGE="perl-geo-ipfree" |
Hans-G?nter@23336 | 4 VERSION="1.151940" |
erjo@2648 | 5 CATEGORY="development" |
Hans-G?nter@23336 | 6 SHORT_DESC="Perl extension Geo::IPfree." |
erjo@2648 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23336 | 9 WEB_SITE="https://metacpan.org/release/Geo-IPfree" |
Hans-G?nter@23336 | 10 |
Hans-G?nter@23336 | 11 SOURCE="Geo-IPfree" |
Hans-G?nter@23336 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23336 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/B/BR/BRICAS/$TARBALL" |
Hans-G?nter@23336 | 14 |
erjo@2648 | 15 DEPENDS="perl" |
erjo@2648 | 16 BUILD_DEPENDS="perl" |
erjo@2648 | 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 |
erjo@2648 | 24 # Rules to configure and make the package. |
erjo@2648 | 25 compile_rules() |
erjo@2648 | 26 { |
Hans-G?nter@23336 | 27 perl Makefile.PL && |
Hans-G?nter@23336 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
erjo@2648 | 30 } |
erjo@2648 | 31 |
erjo@2648 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2648 | 33 genpkg_rules() |
erjo@2648 | 34 { |
erjo@2648 | 35 mkdir -p $fs/usr |
Hans-G?nter@23336 | 36 cp -a $install/usr/lib $fs/usr |
erjo@2648 | 37 } |