summaryrefslogtreecommitdiff
path: root/homebrew/timelimit
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/timelimit
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/timelimit')
-rw-r--r--homebrew/timelimit/.beer22
-rw-r--r--homebrew/timelimit/.make.sh-auto8
-rw-r--r--homebrew/timelimit/_metadata/description1
-rw-r--r--homebrew/timelimit/_metadata/homepage1
-rw-r--r--homebrew/timelimit/_metadata/name1
-rw-r--r--homebrew/timelimit/_metadata/version1
-rwxr-xr-xhomebrew/timelimit/download.sh1
7 files changed, 35 insertions, 0 deletions
diff --git a/homebrew/timelimit/.beer b/homebrew/timelimit/.beer
new file mode 100644
index 000000000..347539a4c
--- /dev/null
+++ b/homebrew/timelimit/.beer
@@ -0,0 +1,22 @@
+{
+ "name": "Timelimit",
+ "description": "Limit a process",
+ "url": "https://devel.ringlet.net/files/sys/timelimit/timelimit-1.9.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://devel.ringlet.net/sysutils/timelimit/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "inreplace \"Makefile\", \"-o ${BINOWN} -g ${BINGRP}\", \"\"",
+ "inreplace \"Makefile\", \"-o ${SHAREOWN} -g ${SHAREGRP}\", \"\"",
+ "args = %W[LOCALBASE=#{prefix} MANDIR=#{man}/man]",
+ "check_args = args + [\"check\"]",
+ "install_args = args + [\"install\"]",
+ "system \"make\", *check_args",
+ "system \"make\", *install_args"
+ ],
+ "version": "1.9.0",
+ "file": "timelimit.rb"
+} \ No newline at end of file
diff --git a/homebrew/timelimit/.make.sh-auto b/homebrew/timelimit/.make.sh-auto
new file mode 100644
index 000000000..4fad687af
--- /dev/null
+++ b/homebrew/timelimit/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+inreplace "Makefile", "-o ${BINOWN} -g ${BINGRP}", ""
+inreplace "Makefile", "-o ${SHAREOWN} -g ${SHAREGRP}", ""
+args = %W[LOCALBASE=#{prefix} MANDIR=#{man}/man]
+check_args = args + ["check"]
+install_args = args + ["install"]
+make *check_args
+make *DESTDIR=${PKG_DEST} install_args
diff --git a/homebrew/timelimit/_metadata/description b/homebrew/timelimit/_metadata/description
new file mode 100644
index 000000000..3f55de753
--- /dev/null
+++ b/homebrew/timelimit/_metadata/description
@@ -0,0 +1 @@
+Limit a process
diff --git a/homebrew/timelimit/_metadata/homepage b/homebrew/timelimit/_metadata/homepage
new file mode 100644
index 000000000..d576df18a
--- /dev/null
+++ b/homebrew/timelimit/_metadata/homepage
@@ -0,0 +1 @@
+https://devel.ringlet.net/sysutils/timelimit/
diff --git a/homebrew/timelimit/_metadata/name b/homebrew/timelimit/_metadata/name
new file mode 100644
index 000000000..1c90f3f30
--- /dev/null
+++ b/homebrew/timelimit/_metadata/name
@@ -0,0 +1 @@
+Timelimit
diff --git a/homebrew/timelimit/_metadata/version b/homebrew/timelimit/_metadata/version
new file mode 100644
index 000000000..f8e233b27
--- /dev/null
+++ b/homebrew/timelimit/_metadata/version
@@ -0,0 +1 @@
+1.9.0
diff --git a/homebrew/timelimit/download.sh b/homebrew/timelimit/download.sh
new file mode 100755
index 000000000..640bc28cc
--- /dev/null
+++ b/homebrew/timelimit/download.sh
@@ -0,0 +1 @@
+wget https://devel.ringlet.net/files/sys/timelimit/timelimit-1.9.0.tar.gz \ No newline at end of file