Mail archive
alpine-devel

Re: [alpine-devel] [PATCH] main/perl-net-cidr-lite: new aport

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Tue, 16 Nov 2010 14:19:37 +0100

On Tue, 2010-11-16 at 04:30 -0600, Matt Smith wrote:
> ---
> main/perl-net-cidr-lite/APKBUILD | 26 ++++++++++++++++++++++++++
> 1 files changed, 26 insertions(+), 0 deletions(-)
> create mode 100644 main/perl-net-cidr-lite/APKBUILD

we normally put new aports in testing.

> +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
> +}

I like to split the 'make install' phase to separate package() function.
Its because 'make install' needs to run in fakeroot and fakeroot kills
paralell build performance.

Doesnt matter in this case.

Applied.

Thanks!

-nc



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Tue Nov 16 2010 - 14:19:37 GMT