# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista <francesco.colista@gmail.com> # Maintainer: Francesco Colista <francesco.colista@gmail.com> setvar pkgname = 'perl-perlio-via-escstatus' setvar _pkgreal = 'PerlIO-via-EscStatus' setvar pkgver = '10' setvar pkgrel = '0' setvar pkgdesc = ""Printing a status line through an I/O layer."" setvar url = ""http://search.cpan.org/dist/PerlIO-via-EscStatus/"" setvar arch = ""noarch"" setvar license = ""open_source"" setvar cpandepends = ""perl-regexp-common perl-term-size"" setvar cpanmakedepends = "" "" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev $cpanmakedepends"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz"" setvar _builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { cd $_builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags})' PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor } proc build { cd $_builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}) make && make test } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setvar md5sums = ""8a3e0b10e4200920a49d2bff4d37e5f8 PerlIO-via-EscStatus-10.tar.gz""