wok diff perl-netaddr-ip/receipt @ rev 22340
Add perl-netaddr-ip & spamassassin
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 15 23:13:17 2019 +0100 (2019-11-15) |
parents | |
children | ca4a422cce07 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-netaddr-ip/receipt Fri Nov 15 23:13:17 2019 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="perl-netaddr-ip" 1.7 +VERSION="4.079" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="NetAddr::IP module is a Perl extension." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="Artistic" 1.12 +DEPENDS="perl" 1.13 +BUILD_DEPENDS="perl" 1.14 +SOURCE="NetAddr-IP" 1.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 +WEB_SITE="http://www.cpan.org/modules/" 1.17 +WGET_URL="https://cpan.metacpan.org/authors/id/M/MI/MIKER/$TARBALL" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + perl Makefile.PL && 1.23 + make && 1.24 + make DESTDIR=$DESTDIR install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + cp -a $install/usr $fs/ 1.31 +}