wok-6.x annotate perl-geo-ipfree/receipt @ rev 2648
Add: perl-compress-raw-bzip2 perl-compress-raw-zlib perl-geo-ipfree
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Apr 17 22:53:17 2009 +0200 (2009-04-17) |
parents | |
children | 8299a5a88c0f |
rev | line source |
---|---|
erjo@2648 | 1 # SliTaz package receipt. |
erjo@2648 | 2 |
erjo@2648 | 3 PACKAGE="perl-uri" |
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" |
erjo@2648 | 8 DEPENDS="perl" |
erjo@2648 | 9 BUILD_DEPENDS="perl" |
erjo@2648 | 10 SOURCE="Geo-IPfree" |
erjo@2648 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@2648 | 12 WEB_SITE="http://cpan.org/" |
erjo@2648 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/$TARBALL" |
erjo@2648 | 14 |
erjo@2648 | 15 |
erjo@2648 | 16 # Rules to configure and make the package. |
erjo@2648 | 17 compile_rules() |
erjo@2648 | 18 { |
erjo@2648 | 19 cd $src |
erjo@2648 | 20 perl Makefile.PL |
erjo@2648 | 21 make |
erjo@2648 | 22 make DESTDIR=$PWD/_pkg install |
erjo@2648 | 23 } |
erjo@2648 | 24 |
erjo@2648 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2648 | 26 genpkg_rules() |
erjo@2648 | 27 { |
erjo@2648 | 28 mkdir -p $fs/usr |
erjo@2648 | 29 cp -a $_pkg/usr/lib $fs/usr |
erjo@2648 | 30 } |
erjo@2648 | 31 |