summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-03-22 19:49:46 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-03-22 19:49:46 (GMT)
commitc9092b96ef4f2fd32f7b7ae8bdefd0880ecf3964 (patch)
tree1db50b829306af61d17d85851fe0c9bedb12dc29 /abs/core
parent2ebece31ee1ef9b693dbd3bcb0f76e87766ef577 (diff)
downloadlinhes_pkgbuild-c9092b96ef4f2fd32f7b7ae8bdefd0880ecf3964.zip
linhes_pkgbuild-c9092b96ef4f2fd32f7b7ae8bdefd0880ecf3964.tar.gz
linhes_pkgbuild-c9092b96ef4f2fd32f7b7ae8bdefd0880ecf3964.tar.bz2
perl-sys-cpu: initial inclusion. dep of zoneminder
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/perl_modules/perl-sys-cpu/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-sys-cpu/PKGBUILD b/abs/core/perl_modules/perl-sys-cpu/PKGBUILD
new file mode 100644
index 0000000..325fd89
--- /dev/null
+++ b/abs/core/perl_modules/perl-sys-cpu/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Chris Kitching <chriskitching@linux.com>
+# Essentially stolen from Nathan Hulse <nat.hulse@gmail.com>
+# Oddly it disappeared from the AUR, and I want creduce, so I dug it
+# up and mopped the blood off.
+
+pkgname=perl-sys-cpu
+pkgver=0.61
+pkgrel=1
+pkgdesc="Perl extension for getting CPU information. Currently only number of CPU's supported."
+arch=('any')
+url="http://search.cpan.org/~mkoderer/Sys-CPU-$pkgver/"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0')
+options=(!emptydirs)
+source=(https://cpan.metacpan.org/authors/id/M/MZ/MZSANFORD/Sys-CPU-$pkgver.tar.gz)
+md5sums=(f43a3a50ac2dca6c1485a859ebef09b2)
+
+build() {
+ cd "$srcdir/Sys-CPU-$pkgver"
+
+ # Install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir/Sys-CPU-$pkgver"
+ make install DESTDIR="$pkgdir/"
+}
+