wok annotate perl-net-xwhois/receipt @ rev 16054
ARM downgrade wpa_supplicant to 0.7.3 to make it compile (we realy need it)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 10 18:05:36 2014 +0100 (2014-03-10) |
parents | 92ad1f7ee59a |
children | 20661c276bcf |
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 |