wok-current annotate perl-net-xwhois/receipt @ rev 8368

Fixed units.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Feb 03 20:49:01 2011 +0000 (2011-02-03)
parents
children 2d12ebd38be4
rev   line source
pascal@5204 1 # SliTaz package receipt.
pascal@5204 2
pascal@5204 3 PACKAGE="perl-net-xwhois"
pascal@5204 4 VERSION="0.90"
pascal@5204 5 CATEGORY="development"
pascal@5204 6 SHORT_DESC="Net::XWhois module is a Perl extension."
pascal@5204 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@5204 8 DEPENDS="perl"
pascal@5204 9 BUILD_DEPENDS="perl"
pascal@5204 10 SOURCE="Net-XWhois"
pascal@5204 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@5204 12 WEB_SITE="http://www.cpan.org/modules/"
pascal@5204 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/$TARBALL"
pascal@5204 14
pascal@5204 15 # Rules to configure and make the package.
pascal@5204 16 compile_rules()
pascal@5204 17 {
pascal@5204 18 mv $SOURCE $src 2> /dev/null
pascal@5204 19 cd $src
pascal@5204 20 perl Makefile.PL &&
pascal@5204 21 make &&
pascal@5204 22 make DESTDIR=$PWD/_pkg install
pascal@5204 23 }
pascal@5204 24
pascal@5204 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5204 26 genpkg_rules()
pascal@5204 27 {
pascal@5204 28 mkdir -p $fs/usr
pascal@5204 29 cp -a $_pkg/usr/lib $fs/usr
pascal@5204 30 }
pascal@5204 31