wok rev 5204
Add perl-net-xwhois
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 30 10:54:38 2010 +0200 (2010-03-30) |
parents | afd44e3eda0d |
children | e21766a94165 |
files | awstats/receipt perl-net-xwhois/receipt |
line diff
1.1 --- a/awstats/receipt Mon Mar 29 21:57:31 2010 +0200 1.2 +++ b/awstats/receipt Tue Mar 30 10:54:38 2010 +0200 1.3 @@ -6,6 +6,7 @@ 1.4 SHORT_DESC="Log file analyzer" 1.5 MAINTAINER="erjo@slitaz.org" 1.6 DEPENDS="perl" 1.7 +SUGGESTED="perl-net-xwhois" 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WEB_SITE="http://awstats.sourceforge.net/" 1.10 WGET_URL="http://prdownloads.sourceforge.net/awstats/$TARBALL"
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/perl-net-xwhois/receipt Tue Mar 30 10:54:38 2010 +0200 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="perl-net-xwhois" 2.7 +VERSION="0.90" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="Net::XWhois module is a Perl extension." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +DEPENDS="perl" 2.12 +BUILD_DEPENDS="perl" 2.13 +SOURCE="Net-XWhois" 2.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.15 +WEB_SITE="http://www.cpan.org/modules/" 2.16 +WGET_URL="http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/$TARBALL" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + mv $SOURCE $src 2> /dev/null 2.22 + cd $src 2.23 + perl Makefile.PL && 2.24 + make && 2.25 + make DESTDIR=$PWD/_pkg install 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs/usr 2.32 + cp -a $_pkg/usr/lib $fs/usr 2.33 +} 2.34 +