X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id 9700F1EBFF7 for ; Tue, 16 Nov 2010 13:19:38 +0000 (UTC) Received: from [10.65.65.1] (unknown [10.65.65.1]) by mail.wtbts.no (Postfix) with ESMTP id ECF117E005; Tue, 16 Nov 2010 14:12:06 +0100 (CET) Subject: Re: [alpine-devel] [PATCH] main/perl-net-cidr-lite: new aport From: Natanael Copa To: Matt Smith Cc: alpine-devel@lists.alpinelinux.org In-Reply-To: <1289903430-1675-1-git-send-email-mcs@darkregion.net> References: <1289903430-1675-1-git-send-email-mcs@darkregion.net> Content-Type: text/plain; charset="UTF-8" Date: Tue, 16 Nov 2010 14:19:37 +0100 Message-ID: <1289913577.22575.14.camel@ncopa-desktop.nor.wtbts.net> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.32.0 Content-Transfer-Encoding: 7bit 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@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---