From 330a49e1c7a5b4cf3014a546d92594280f0626c2 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Mon, 2 Jan 2012 08:28:52 +0000 Subject: testing/perl-algorithm-diff: new apkbuild --- testing/perl-io-tty/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 testing/perl-io-tty/APKBUILD (limited to 'testing/perl-io-tty/APKBUILD') 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 +# Maintainer: Francesco Colista +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" -- cgit v1.2.3