summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpan2cruxPorts/p5-sys-meminfo/.footprint16
-rw-r--r--cpan2cruxPorts/p5-sys-meminfo/.md5sum1
-rw-r--r--cpan2cruxPorts/p5-sys-meminfo/.signature5
-rw-r--r--cpan2cruxPorts/p5-sys-meminfo/Pkgfile17
-rwxr-xr-xcpan2cruxPorts/p5-sys-meminfo/lastVersion.sh11
5 files changed, 50 insertions, 0 deletions
diff --git a/cpan2cruxPorts/p5-sys-meminfo/.footprint b/cpan2cruxPorts/p5-sys-meminfo/.footprint
new file mode 100644
index 0000000..5481db2
--- /dev/null
+++ b/cpan2cruxPorts/p5-sys-meminfo/.footprint
@@ -0,0 +1,16 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/perl5/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Sys/
+-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Sys/MemInfo.pm
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Sys/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Sys/MemInfo/
+-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Sys/MemInfo/MemInfo.so
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man3/
+-r--r--r-- root/root usr/share/man/man3/Sys::MemInfo.3pm.gz
diff --git a/cpan2cruxPorts/p5-sys-meminfo/.md5sum b/cpan2cruxPorts/p5-sys-meminfo/.md5sum
new file mode 100644
index 0000000..3fbedeb
--- /dev/null
+++ b/cpan2cruxPorts/p5-sys-meminfo/.md5sum
@@ -0,0 +1 @@
+88f0632691d7de91cbed95ba1ff29025 Sys-MemInfo-0.99.tar.gz
diff --git a/cpan2cruxPorts/p5-sys-meminfo/.signature b/cpan2cruxPorts/p5-sys-meminfo/.signature
new file mode 100644
index 0000000..931111f
--- /dev/null
+++ b/cpan2cruxPorts/p5-sys-meminfo/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/deepthought.pub
+RWQxCptPusLGGifeSalFoeSXRyPNKIcb8c7Jm9VZy23yVqVwqvptls3MeyER/Qq0CEgE/CK/dL0FaImi6gUuHlMrnmO7D47baQM=
+SHA256 (Pkgfile) = 44f0d88e00be5985ecd69930ae1073e50d4356f8c46974d3fc409bf6de7d3934
+SHA256 (.footprint) = b25a4ad282c7fcf0af51eccaad954c89147a7792ccc7c609292028cc906393e6
+SHA256 (Sys-MemInfo-0.99.tar.gz) = 0786319d3a3a8bae5d727939244bf17e140b714f52734d5e9f627203e4cf3e3b
diff --git a/cpan2cruxPorts/p5-sys-meminfo/Pkgfile b/cpan2cruxPorts/p5-sys-meminfo/Pkgfile
new file mode 100644
index 0000000..53c1dc5
--- /dev/null
+++ b/cpan2cruxPorts/p5-sys-meminfo/Pkgfile
@@ -0,0 +1,17 @@
+# Description: query the total free and used physical memory
+# URL: https://metacpan.org/release/Sys-Meminfo
+# Maintainer: Erich Eckner, crux at eckner dot net
+
+name=p5-sys-meminfo
+version=0.99
+release=1
+source=(https://cpan.metacpan.org/authors/id/S/SC/SCRESTO/Sys-MemInfo-$version.tar.gz)
+
+build() {
+ cd Sys-MemInfo-$version
+ perl Makefile.PL
+ make OPTIMIZE="$CFLAGS"
+ make DESTDIR="$PKG" install
+ find "$PKG" \( -name perllocal.pod -o -name .packlist \) -delete
+ find "$PKG" -depth -type d -empty -delete
+}
diff --git a/cpan2cruxPorts/p5-sys-meminfo/lastVersion.sh b/cpan2cruxPorts/p5-sys-meminfo/lastVersion.sh
new file mode 100755
index 0000000..9d5e0e7
--- /dev/null
+++ b/cpan2cruxPorts/p5-sys-meminfo/lastVersion.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+wget --output-document=- "https://cpan.metacpan.org/authors/id/B/BU/BURAK/" 2> /dev/null | \
+ tr '"' '\n' | \
+ sed '
+ s/^Sys-Info-\([0-9.]\+\)\.tar\.gz$/\1/
+ t
+ d
+ ' | \
+ sort -V | \
+ tail -n1