summaryrefslogtreecommitdiff
path: root/homebrew/newt
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/newt')
-rw-r--r--homebrew/newt/.beer34
-rw-r--r--homebrew/newt/.make.sh-auto7
-rw-r--r--homebrew/newt/_metadata/description1
-rw-r--r--homebrew/newt/_metadata/homepage1
-rw-r--r--homebrew/newt/_metadata/name1
-rw-r--r--homebrew/newt/_metadata/version1
-rwxr-xr-xhomebrew/newt/download.sh1
7 files changed, 46 insertions, 0 deletions
diff --git a/homebrew/newt/.beer b/homebrew/newt/.beer
new file mode 100644
index 000000000..1f5f7e60e
--- /dev/null
+++ b/homebrew/newt/.beer
@@ -0,0 +1,34 @@
+{
+ "name": "Newt",
+ "description": "Library for color text mode, widget based user interfaces",
+ "url": "https://pagure.io/releases/newt/newt-0.52.20.tar.gz",
+ "mirror": null,
+ "homepage": "https://pagure.io/newt",
+ "depends": [
+ {
+ "depend": "gettext",
+ "build-depend": false
+ },
+ {
+ "depend": "popt",
+ "build-depend": false
+ },
+ {
+ "depend": "s-lang",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = [\"--prefix=#{prefix}\", \"--without-tcl\"]",
+ "inreplace \"Makefile.in\" do |s|",
+ "s.gsub! \"libnewt.$(SOEXT).$(SONAME)\", \"libnewt.$(SONAME).dylib\"",
+ "s.gsub! \"libnewt.$(SOEXT).$(VERSION)\", \"libnewt.$(VERSION).dylib\"",
+ "s.gsub! \"`$$pyconfig --ldflags`\", '\"-undefined dynamic_lookup\"'",
+ "s.gsub! \"`$$pyconfig --libs`\", '\"\"'"
+ ],
+ "version": "0.52.20",
+ "file": "newt.rb"
+} \ No newline at end of file
diff --git a/homebrew/newt/.make.sh-auto b/homebrew/newt/.make.sh-auto
new file mode 100644
index 000000000..96193c34b
--- /dev/null
+++ b/homebrew/newt/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+args = ["--prefix=#{prefix}", "--without-tcl"]
+inreplace "Makefile.in" do |s|
+s.gsub! "libnewt.$(SOEXT).$(SONAME)", "libnewt.$(SONAME).dylib"
+s.gsub! "libnewt.$(SOEXT).$(VERSION)", "libnewt.$(VERSION).dylib"
+s.gsub! "`$$pyconfig --ldflags`", '"-undefined dynamic_lookup"'
+s.gsub! "`$$pyconfig --libs`", '""'
diff --git a/homebrew/newt/_metadata/description b/homebrew/newt/_metadata/description
new file mode 100644
index 000000000..aef9be3b1
--- /dev/null
+++ b/homebrew/newt/_metadata/description
@@ -0,0 +1 @@
+Library for color text mode, widget based user interfaces
diff --git a/homebrew/newt/_metadata/homepage b/homebrew/newt/_metadata/homepage
new file mode 100644
index 000000000..16ac651b3
--- /dev/null
+++ b/homebrew/newt/_metadata/homepage
@@ -0,0 +1 @@
+https://pagure.io/newt
diff --git a/homebrew/newt/_metadata/name b/homebrew/newt/_metadata/name
new file mode 100644
index 000000000..a45413674
--- /dev/null
+++ b/homebrew/newt/_metadata/name
@@ -0,0 +1 @@
+Newt
diff --git a/homebrew/newt/_metadata/version b/homebrew/newt/_metadata/version
new file mode 100644
index 000000000..e3ff91ff3
--- /dev/null
+++ b/homebrew/newt/_metadata/version
@@ -0,0 +1 @@
+0.52.20
diff --git a/homebrew/newt/download.sh b/homebrew/newt/download.sh
new file mode 100755
index 000000000..b3f3d2f7a
--- /dev/null
+++ b/homebrew/newt/download.sh
@@ -0,0 +1 @@
+wget https://pagure.io/releases/newt/newt-0.52.20.tar.gz \ No newline at end of file