summaryrefslogtreecommitdiff
path: root/homebrew/juise
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/juise
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/juise')
-rw-r--r--homebrew/juise/.beer40
-rw-r--r--homebrew/juise/.make.sh-auto4
-rw-r--r--homebrew/juise/_metadata/description1
-rw-r--r--homebrew/juise/_metadata/homepage1
-rw-r--r--homebrew/juise/_metadata/name1
-rw-r--r--homebrew/juise/_metadata/version1
-rwxr-xr-xhomebrew/juise/download.sh1
7 files changed, 49 insertions, 0 deletions
diff --git a/homebrew/juise/.beer b/homebrew/juise/.beer
new file mode 100644
index 000000000..9368a0992
--- /dev/null
+++ b/homebrew/juise/.beer
@@ -0,0 +1,40 @@
+{
+ "name": "Juise",
+ "description": "JUNOS user interface scripting environment",
+ "url": "https://github.com/Juniper/juise/releases/download/0.8.0/juise-0.8.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/Juniper/juise/wiki",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "libslax",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"sh\", \"./bin/setup.sh\" if build.head?",
+ "inreplace \"configure\",",
+ "\"SLAX_EXTDIR=\\\"`$SLAX_CONFIG --extdir | head -1`\\\"\",",
+ "\"SLAX_EXTDIR=\\\"#{lib}/slax/extensions\\\"\"",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--enable-libedit\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.8.0",
+ "file": "juise.rb"
+} \ No newline at end of file
diff --git a/homebrew/juise/.make.sh-auto b/homebrew/juise/.make.sh-auto
new file mode 100644
index 000000000..e052051d7
--- /dev/null
+++ b/homebrew/juise/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+inreplace "configure", "SLAX_EXTDIR=\"`$SLAX_CONFIG --extdir | head -1`\"", "SLAX_EXTDIR=\"#{lib}/slax/extensions\""
+pkg:configure --disable-dependency-tracking --enable-libedit
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/juise/_metadata/description b/homebrew/juise/_metadata/description
new file mode 100644
index 000000000..03f59a1b5
--- /dev/null
+++ b/homebrew/juise/_metadata/description
@@ -0,0 +1 @@
+JUNOS user interface scripting environment
diff --git a/homebrew/juise/_metadata/homepage b/homebrew/juise/_metadata/homepage
new file mode 100644
index 000000000..6a3eaa8bb
--- /dev/null
+++ b/homebrew/juise/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/Juniper/juise/wiki
diff --git a/homebrew/juise/_metadata/name b/homebrew/juise/_metadata/name
new file mode 100644
index 000000000..31adcbeec
--- /dev/null
+++ b/homebrew/juise/_metadata/name
@@ -0,0 +1 @@
+Juise
diff --git a/homebrew/juise/_metadata/version b/homebrew/juise/_metadata/version
new file mode 100644
index 000000000..a3df0a695
--- /dev/null
+++ b/homebrew/juise/_metadata/version
@@ -0,0 +1 @@
+0.8.0
diff --git a/homebrew/juise/download.sh b/homebrew/juise/download.sh
new file mode 100755
index 000000000..e7e491413
--- /dev/null
+++ b/homebrew/juise/download.sh
@@ -0,0 +1 @@
+wget https://github.com/Juniper/juise/releases/download/0.8.0/juise-0.8.0.tar.gz \ No newline at end of file