wok-next annotate perl-net-xwhois/receipt @ rev 15288
pkg-config: remove a wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 17:57:02 2013 +0000 (2013-09-26) |
parents | 92ad1f7ee59a |
children | 1a86cb99cbbf |
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@14702 | 8 LICENSE="GPL" |
pascal@5204 | 9 DEPENDS="perl" |
pascal@5204 | 10 BUILD_DEPENDS="perl" |
pascal@5204 | 11 SOURCE="Net-XWhois" |
pascal@5204 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5204 | 13 WEB_SITE="http://www.cpan.org/modules/" |
pascal@5204 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/$TARBALL" |
pascal@5204 | 15 |
pascal@5204 | 16 # Rules to configure and make the package. |
pascal@5204 | 17 compile_rules() |
pascal@5204 | 18 { |
pascal@5204 | 19 mv $SOURCE $src 2> /dev/null |
pascal@5204 | 20 cd $src |
pascal@5204 | 21 perl Makefile.PL && |
pascal@5204 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@5204 | 24 } |
pascal@5204 | 25 |
pascal@5204 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5204 | 27 genpkg_rules() |
pascal@5204 | 28 { |
pascal@5204 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pascal@5204 | 31 } |
pascal@5204 | 32 |