aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-io-tty
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-io-tty')
-rw-r--r--testing/perl-io-tty/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-io-tty/APKBUILD b/testing/perl-io-tty/APKBUILD
new file mode 100644
index 0000000000..bb4da860fd
--- /dev/null
+++ b/testing/perl-io-tty/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-io-tty
+_pkgreal=IO-Tty
+pkgver=1.10
+pkgrel=0
+pkgdesc="Pseudo ttys and constants"
+url="http://search.cpan.org/dist/IO-Tty/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="46baec86a145e57f0ec661fa412b097c IO-Tty-1.10.tar.gz"