summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-19 12:05:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-19 12:05:39 +0000
commitcc102d1d576616e5202ccdc9dba56b352895a5d6 (patch)
tree9f44fe8c2e68c709b68fb10ac8995a58be40f386 /main
parent90fb95d1ed28d6229f81d6bfa4a58bcbce824b0c (diff)
parentba50afe52ddd63beac8d49b566fa1fc1922142cf (diff)
downloadaports-cc102d1d576616e5202ccdc9dba56b352895a5d6.tar.bz2
aports-cc102d1d576616e5202ccdc9dba56b352895a5d6.tar.xz
Merge remote branch 'larena/master'
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"