diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-26 13:00:57 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-26 13:00:57 +0100 |
commit | 618f05ee5313f2889d2012ef9d9bb0476a88c31e (patch) | |
tree | aac9f17b9151cd10d70d317df34ad785a9f4ab37 /unmaintained/perl-perlio-via-escstatus | |
parent | e70b78fe7baabb3bca55f0d24da23859955daa4d (diff) | |
download | aports-618f05ee5313f2889d2012ef9d9bb0476a88c31e.tar.bz2 aports-618f05ee5313f2889d2012ef9d9bb0476a88c31e.tar.xz |
testing/perl-perlio-via-escstatus: move to unmaintained
Diffstat (limited to 'unmaintained/perl-perlio-via-escstatus')
-rw-r--r-- | unmaintained/perl-perlio-via-escstatus/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/perl-perlio-via-escstatus/APKBUILD b/unmaintained/perl-perlio-via-escstatus/APKBUILD new file mode 100644 index 0000000000..21cac5a060 --- /dev/null +++ b/unmaintained/perl-perlio-via-escstatus/APKBUILD @@ -0,0 +1,39 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=perl-perlio-via-escstatus +_pkgreal=PerlIO-via-EscStatus +pkgver=10 +pkgrel=0 +pkgdesc="Printing a status line through an I/O layer." +url="http://search.cpan.org/dist/PerlIO-via-EscStatus/" +arch="noarch" +license="open_source" +cpandepends="perl-regexp-common perl-term-size" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_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="8a3e0b10e4200920a49d2bff4d37e5f8 PerlIO-via-EscStatus-10.tar.gz" |