diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-06-02 10:57:01 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-06-02 11:48:25 +0300 |
commit | 37dd29e66a2ae20237cdffec326eb1c537ad1c66 (patch) | |
tree | 05bab8f7075041bab683394044e13645caf8d0ab | |
parent | eef93bed461529bde68b31e80d281a1e0a5f0f4c (diff) | |
download | aports-37dd29e66a2ae20237cdffec326eb1c537ad1c66.tar.bz2 aports-37dd29e66a2ae20237cdffec326eb1c537ad1c66.tar.xz |
testing/perl-term-readkey: new apkbuild-cpan generated aport
Change terminal modes, and perform non-blocking reads
http://search.cpan.org/dist/TermReadKey/
-rw-r--r-- | testing/perl-term-readkey/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-term-readkey/APKBUILD b/testing/perl-term-readkey/APKBUILD new file mode 100644 index 000000000..5c39772bd --- /dev/null +++ b/testing/perl-term-readkey/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=perl-term-readkey +_pkgreal=TermReadKey +pkgver=2.14 +pkgrel=0 +pkgdesc="Change terminal modes, and perform non-blocking reads" +url="http://search.cpan.org/dist/TermReadKey/" +arch="all" +license="AS-IS" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/K/KJ/KJALB/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + make +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="d8ed4c533350c2e8724c70c103a1a01f TermReadKey-2.14.tar.gz" |