mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-29 10:21:10 +02:00
32 lines
853 B
Plaintext
32 lines
853 B
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer:
|
|
pkgname=perl-net-ipv4addr
|
|
_realname=Net-IPv4Addr
|
|
pkgver=0.10
|
|
pkgrel=0
|
|
pkgdesc="Perl extension for manipulating IPv4 addresses"
|
|
url="http://search.cpan.org/~frajulac/Net-IPv4Addr-0.10/"
|
|
arch="noarch"
|
|
license="PerlArtistic"
|
|
depends="perl "
|
|
depends_dev=""
|
|
makedepends="perl-dev"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="http://search.cpan.org/CPAN/authors/id/F/FR/FRAJULAC/$_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="57aa8e28ebcd4c0c9f15792740e53d3c Net-IPv4Addr-0.10.tar.gz"
|