summaryrefslogtreecommitdiffstats
path: root/main/perl-net-cidr-lite/APKBUILD
blob: 20e47a0c15f1f5b2ade05b57fe44e2d1944c3707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer:  Matt Smith <mcs@darkregion.net>
pkgname=perl-net-cidr-lite
_realname=Net-CIDR-Lite
pkgver=0.21
pkgrel=0
pkgdesc="Perl extension for merging IPv4 or IPv6 CIDR addresses"
url="http://search.cpan.org/~dougw/Net-CIDR-Lite-0.21/"
arch="x86 x86_64"
license="Unknown"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/$_realname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$_realname-$pkgver"

	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="12280b3754886b876918f03f53aee4f5  Net-CIDR-Lite-0.21.tar.gz"