summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-02-19 07:33:22 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-02-19 07:33:22 +0000
commitba50afe52ddd63beac8d49b566fa1fc1922142cf (patch)
tree8788c31d6a1d17c2a446f259ae20816deeb2de6e /main
parente05a5012035282838cc7909f8d71c4b2ec22d60e (diff)
downloadaports-ba50afe52ddd63beac8d49b566fa1fc1922142cf.tar.bz2
aports-ba50afe52ddd63beac8d49b566fa1fc1922142cf.tar.xz
main/perl-time-hires: new aport
Diffstat (limited to 'main')
-rw-r--r--main/perl-time-hires/APKBUILD25
1 files changed, 25 insertions, 0 deletions
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 <rnalrd@gmail.com>
+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"