1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 20:55:19 +03:00
aports/testing/perl-net-netmask/APKBUILD
Fabian Affolter 6d7126c865 Initial APKBUILD for perl-net-netmask
Package description:
Perl module for manipulation and lookup of IP network blocks
2011-07-03 20:16:58 +00:00

32 lines
874 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer:
pkgname=perl-net-netmask
_realname=Net-Netmask
pkgver=1.9016
pkgrel=0
pkgdesc="Perl extension to parse, manipulate, and lookup IP network blocks"
url="http://search.cpan.org/~muir/Net-Netmask-1.9016/"
arch="noarch"
license="PerlArtistic"
depends="perl"
depends_dev=""
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/$_realname-$pkgver.tar.gz"
_builddir="$srcdir"/$_realname-$pkgver
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="174606b568f8545b8968aecf50ba7a37 Net-Netmask-1.9016.tar.gz"