wok-6.x annotate perl-net-xwhois/receipt @ rev 23649
Up openvpn (2.4.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 20 13:31:36 2020 +0000 (2020-04-20) |
parents | 2d12ebd38be4 |
children | ca4a422cce07 |
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@20682 | 14 WGET_URL="https://metacpan.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 |