wok-6.x annotate perl-geo-ipfree/receipt @ rev 21084
updated john (1.7.8 -> 1.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 15 14:28:58 2019 +0100 (2019-03-15) |
parents | 2d12ebd38be4 |
children | bba2ce5f64b0 |
rev | line source |
---|---|
erjo@2648 | 1 # SliTaz package receipt. |
erjo@2648 | 2 |
pascal@2651 | 3 PACKAGE="perl-geo-ipfree" |
erjo@2648 | 4 VERSION="0.5" |
erjo@2648 | 5 CATEGORY="development" |
erjo@2648 | 6 SHORT_DESC="Geo::IPfree module is a Perl extension." |
erjo@2648 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
erjo@2648 | 9 DEPENDS="perl" |
erjo@2648 | 10 BUILD_DEPENDS="perl" |
erjo@2648 | 11 SOURCE="Geo-IPfree" |
erjo@2648 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@2648 | 13 WEB_SITE="http://cpan.org/" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/B/BR/BRICAS/$TARBALL" |
erjo@2648 | 15 |
erjo@2648 | 16 |
erjo@2648 | 17 # Rules to configure and make the package. |
erjo@2648 | 18 compile_rules() |
erjo@2648 | 19 { |
erjo@2648 | 20 cd $src |
erjo@2648 | 21 perl Makefile.PL |
erjo@2648 | 22 make |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
erjo@2648 | 24 } |
erjo@2648 | 25 |
erjo@2648 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2648 | 27 genpkg_rules() |
erjo@2648 | 28 { |
erjo@2648 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
erjo@2648 | 31 } |
erjo@2648 | 32 |