wok-current annotate perl-net-ip/receipt @ rev 21140
locale-*: update post_remove
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 25 20:50:34 2019 +0100 (2019-03-25) |
parents | 2d12ebd38be4 |
children | 833682724b54 |
rev | line source |
---|---|
pascal@2069 | 1 # SliTaz package receipt. |
pascal@2069 | 2 |
pascal@2069 | 3 PACKAGE="perl-net-ip" |
pascal@2069 | 4 VERSION="1.25" |
pascal@2069 | 5 CATEGORY="development" |
pascal@2069 | 6 SHORT_DESC="Net::IP module is a Perl extension." |
pascal@2069 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@2069 | 9 DEPENDS="perl" |
pascal@2069 | 10 BUILD_DEPENDS="perl" |
pascal@2069 | 11 SOURCE="Net-IP" |
pascal@2069 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2243 | 13 WEB_SITE="http://www.cpan.org/modules/" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/M/MA/MANU/$TARBALL" |
pascal@2069 | 15 |
pascal@2069 | 16 # Rules to configure and make the package. |
pascal@2069 | 17 compile_rules() |
pascal@2069 | 18 { |
pascal@2069 | 19 mv $SOURCE $src 2> /dev/null |
pascal@2069 | 20 cd $src |
pascal@2069 | 21 perl Makefile.PL && |
pascal@2069 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@2069 | 24 } |
pascal@2069 | 25 |
pascal@2069 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2069 | 27 genpkg_rules() |
pascal@2069 | 28 { |
pascal@2069 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pascal@2069 | 31 } |
pascal@2069 | 32 |