From ba50afe52ddd63beac8d49b566fa1fc1922142cf Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 19 Feb 2010 07:33:22 +0000 Subject: main/perl-time-hires: new aport --- main/perl-time-hires/APKBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 main/perl-time-hires/APKBUILD (limited to 'main') diff --git a/main/perl-time-hires/APKBUILD b/main/perl-time-hires/APKBUILD new file mode 100644 index 000000000..e4383590a --- /dev/null +++ b/main/perl-time-hires/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Leonardo Arena +pkgname=perl-time-hires +_realname=Time-HiRes +pkgver=1.9719 +pkgrel=0 +pkgdesc="High resolution alarm, sleep, gettimeofday, interval timers" +url="http://search.cpan.org/~jhi/Time-HiRes-${pkgver}/" +license="unknown" +depends="perl" +makedepends="perl-dev" +install= +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/J/JH/JHI/$_realname-$pkgver.tar.gz" + +build() { + cd "$srcdir/$_realname-$pkgver" + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make DESTDIR="$pkgdir" install + # creates file collision among perl modules + find "$pkgdir" -name perllocal.pod -delete +} + +md5sums="2aa17d4b89f3649b9813ab891b83a5e3 Time-HiRes-1.9719.tar.gz" -- cgit v1.2.3