From 2392bc5142a7183fa2eacc669d6880770ce2fa2a Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Fri, 25 Apr 2014 12:42:58 +0000 Subject: main/perl-io-tty: moved from testing. Added perl in dependecies --- main/perl-io-tty/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 main/perl-io-tty/APKBUILD (limited to 'main/perl-io-tty') 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 +# Maintainer: Francesco Colista +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" -- cgit v1.2.3