summaryrefslogtreecommitdiff
path: root/homebrew/dwatch
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/dwatch
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/dwatch')
-rw-r--r--homebrew/dwatch/.beer23
-rw-r--r--homebrew/dwatch/.make.sh-auto5
-rw-r--r--homebrew/dwatch/_metadata/description1
-rw-r--r--homebrew/dwatch/_metadata/homepage1
-rw-r--r--homebrew/dwatch/_metadata/name1
-rw-r--r--homebrew/dwatch/_metadata/version1
-rwxr-xr-xhomebrew/dwatch/download.sh1
7 files changed, 33 insertions, 0 deletions
diff --git a/homebrew/dwatch/.beer b/homebrew/dwatch/.beer
new file mode 100644
index 000000000..b9f4fd106
--- /dev/null
+++ b/homebrew/dwatch/.beer
@@ -0,0 +1,23 @@
+{
+ "name": "Dwatch",
+ "description": "Watch programs and perform actions based on a configuration file",
+ "url": "http://siag.nu/pub/dwatch/dwatch-0.1.1.tar.gz",
+ "mirror": null,
+ "homepage": "http://siag.nu/dwatch/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "bin.mkpath",
+ "man1.mkpath",
+ "system \"make\", \"install\",",
+ "\"CC=#{ENV.cc}\",",
+ "\"PREFIX=#{prefix}\",",
+ "\"MANDIR=#{man}\",",
+ "\"ETCDIR=#{etc}\"",
+ "etc.install \"dwatch.conf\""
+ ],
+ "version": "0.1.1",
+ "file": "dwatch.rb"
+} \ No newline at end of file
diff --git a/homebrew/dwatch/.make.sh-auto b/homebrew/dwatch/.make.sh-auto
new file mode 100644
index 000000000..a8137269e
--- /dev/null
+++ b/homebrew/dwatch/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+bin.mkpath
+man1.mkpath
+make DESTDIR=${PKG_DEST} install CC=${PKG_TARG}-clang PREFIX=${PKG_TAPF} MANDIR=${PKG_TAPF}/share/man ETCDIR=#{etc}
+etc.install "dwatch.conf"
diff --git a/homebrew/dwatch/_metadata/description b/homebrew/dwatch/_metadata/description
new file mode 100644
index 000000000..30ed9715d
--- /dev/null
+++ b/homebrew/dwatch/_metadata/description
@@ -0,0 +1 @@
+Watch programs and perform actions based on a configuration file
diff --git a/homebrew/dwatch/_metadata/homepage b/homebrew/dwatch/_metadata/homepage
new file mode 100644
index 000000000..640139e2e
--- /dev/null
+++ b/homebrew/dwatch/_metadata/homepage
@@ -0,0 +1 @@
+http://siag.nu/dwatch/
diff --git a/homebrew/dwatch/_metadata/name b/homebrew/dwatch/_metadata/name
new file mode 100644
index 000000000..0a7923e9c
--- /dev/null
+++ b/homebrew/dwatch/_metadata/name
@@ -0,0 +1 @@
+Dwatch
diff --git a/homebrew/dwatch/_metadata/version b/homebrew/dwatch/_metadata/version
new file mode 100644
index 000000000..17e51c385
--- /dev/null
+++ b/homebrew/dwatch/_metadata/version
@@ -0,0 +1 @@
+0.1.1
diff --git a/homebrew/dwatch/download.sh b/homebrew/dwatch/download.sh
new file mode 100755
index 000000000..e47d2f37e
--- /dev/null
+++ b/homebrew/dwatch/download.sh
@@ -0,0 +1 @@
+wget http://siag.nu/pub/dwatch/dwatch-0.1.1.tar.gz \ No newline at end of file