X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 7B233DCD9EF for ; Wed, 2 Mar 2016 03:24:46 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 40317DC600C for ; Wed, 2 Mar 2016 03:24:45 +0000 (UTC) Received: from abuild.nathanjohnson.info (c-71-236-42-116.hsd1.tn.comcast.net [71.236.42.116]) by smtp.webfaction.com (Postfix) with ESMTP id C614320A4488; Wed, 2 Mar 2016 03:23:55 +0000 (UTC) Received: by abuild.nathanjohnson.info (Postfix, from userid 1001) id 2ADB48006D; Mon, 29 Feb 2016 15:22:51 -0600 (CST) From: Nathan Johnson To: alpine-aports@lists.alpinelinux.org Cc: Nathan Johnson Subject: [alpine-aports] [PATCH 3/5] testing/perl-log-fu: new aport Date: Mon, 29 Feb 2016 15:22:36 -0600 Message-Id: <1456780958-31863-3-git-send-email-nathan@nathanjohnson.info> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1456780958-31863-1-git-send-email-nathan@nathanjohnson.info> References: <1456780958-31863-1-git-send-email-nathan@nathanjohnson.info> X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://search.cpan.org/dist/Log-Fu/ Simplified and developer-friendly screen logging --- testing/perl-log-fu/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/perl-log-fu/APKBUILD diff --git a/testing/perl-log-fu/APKBUILD b/testing/perl-log-fu/APKBUILD new file mode 100644 index 0000000..6d0c0d4 --- /dev/null +++ b/testing/perl-log-fu/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Nathan Johnson +# Maintainer: Nathan Johnson +pkgname=perl-log-fu +_pkgreal=Log-Fu +pkgver=0.31 +pkgrel=0 +pkgdesc="Simplified and developer-friendly screen logging" +url="http://search.cpan.org/dist/Log-Fu/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-dir-self perl-constant-generate" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/M/MN/MNUNBERG/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="28354f432e52e5d9b4553259da920068 Log-Fu-0.31.tar.gz" +sha256sums="2bb1a4353be476ddadff971a48c3e13d2953e005ba7c86f28967335222892ea6 Log-Fu-0.31.tar.gz" +sha512sums="ae32b5231c44eac0e1e23a863b4d7f57a0d3018516c6b121cd19034e52adbf5875e9bbc3468a808b64829d6992e8b7303ff3d62129670befe38bc75d28e03eff Log-Fu-0.31.tar.gz" -- 2.6.4 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---