aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-io-tty
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2014-04-25 12:42:58 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2014-04-25 12:43:05 +0000
commit2392bc5142a7183fa2eacc669d6880770ce2fa2a (patch)
tree023e7020699ed1a57086c4d95b956fb736d39d48 /main/perl-io-tty
parent85fca3b79a5d49553b451db15bcdd875ecc878db (diff)
downloadaports-2392bc5142a7183fa2eacc669d6880770ce2fa2a.tar.bz2
aports-2392bc5142a7183fa2eacc669d6880770ce2fa2a.tar.xz
main/perl-io-tty: moved from testing. Added perl in dependecies
Diffstat (limited to 'main/perl-io-tty')
-rw-r--r--main/perl-io-tty/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/perl-io-tty/APKBUILD b/main/perl-io-tty/APKBUILD
new file mode 100644
index 0000000000..5573bcb077
--- /dev/null
+++ b/main/perl-io-tty/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-io-tty
+_pkgreal=IO-Tty
+pkgver=1.10
+pkgrel=3
+pkgdesc="Pseudo ttys and constants"
+url="http://search.cpan.org/dist/IO-Tty/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends perl"
+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"
+sha256sums="31a6e21ad187ec5ea93c2b898d6b3519647c5fce9f394b6d3c05a1f7c3f6f8b1 IO-Tty-1.10.tar.gz"
+sha512sums="d92a9e35f4939cdc902f4c5f1a8a84b0113a722ef0fcfaa272952a8455df761457dd0247c4fea0568dd4ae674ef1e9019eb3f480b226c26655424c2856552389 IO-Tty-1.10.tar.gz"