summaryrefslogtreecommitdiff
path: root/homebrew/ncurses
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/ncurses
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/ncurses')
-rw-r--r--homebrew/ncurses/.beer32
-rw-r--r--homebrew/ncurses/.make.sh-auto6
-rw-r--r--homebrew/ncurses/_metadata/description1
-rw-r--r--homebrew/ncurses/_metadata/homepage1
-rw-r--r--homebrew/ncurses/_metadata/name1
-rw-r--r--homebrew/ncurses/_metadata/version1
-rwxr-xr-xhomebrew/ncurses/download.sh1
7 files changed, 43 insertions, 0 deletions
diff --git a/homebrew/ncurses/.beer b/homebrew/ncurses/.beer
new file mode 100644
index 000000000..ace1f5407
--- /dev/null
+++ b/homebrew/ncurses/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "Ncurses",
+ "description": "Text-based UI library",
+ "url": "https://ftp.gnu.org/gnu/ncurses/ncurses-6.1.tar.gz",
+ "mirror": "https://ftpmirror.gnu.org/ncurses/ncurses-6.1.tar.gz",
+ "homepage": "https://www.gnu.org/software/ncurses/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\",",
+ "\"--enable-pc-files\",",
+ "\"--with-pkg-config-libdir=#{lib}/pkgconfig\",",
+ "\"--enable-sigwinch\",",
+ "\"--enable-symlinks\",",
+ "\"--enable-widec\",",
+ "\"--with-shared\",",
+ "\"--with-gpm=no\"",
+ "system \"make\", \"install\"",
+ "make_libncurses_symlinks",
+ "prefix.install \"test\"",
+ "(prefix/\"test\").install \"install-sh\", \"config.sub\", \"config.guess\""
+ ],
+ "version": "6.1",
+ "file": "ncurses.rb"
+} \ No newline at end of file
diff --git a/homebrew/ncurses/.make.sh-auto b/homebrew/ncurses/.make.sh-auto
new file mode 100644
index 000000000..85ff5eed7
--- /dev/null
+++ b/homebrew/ncurses/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+pkg:configure --enable-pc-files --with-pkg-config-libdir=${PKG_TAPF}/lib/pkgconfig --enable-sigwinch --enable-symlinks --enable-widec --with-shared --with-gpm=no
+make DESTDIR=${PKG_DEST} install
+make_libncurses_symlinks
+prefix.install "test"
+(prefix/"test").install "install-sh", "config.sub", "config.guess"
diff --git a/homebrew/ncurses/_metadata/description b/homebrew/ncurses/_metadata/description
new file mode 100644
index 000000000..51b802b2b
--- /dev/null
+++ b/homebrew/ncurses/_metadata/description
@@ -0,0 +1 @@
+Text-based UI library
diff --git a/homebrew/ncurses/_metadata/homepage b/homebrew/ncurses/_metadata/homepage
new file mode 100644
index 000000000..3c8ac574b
--- /dev/null
+++ b/homebrew/ncurses/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/ncurses/
diff --git a/homebrew/ncurses/_metadata/name b/homebrew/ncurses/_metadata/name
new file mode 100644
index 000000000..725c0bd73
--- /dev/null
+++ b/homebrew/ncurses/_metadata/name
@@ -0,0 +1 @@
+Ncurses
diff --git a/homebrew/ncurses/_metadata/version b/homebrew/ncurses/_metadata/version
new file mode 100644
index 000000000..a435f5a56
--- /dev/null
+++ b/homebrew/ncurses/_metadata/version
@@ -0,0 +1 @@
+6.1
diff --git a/homebrew/ncurses/download.sh b/homebrew/ncurses/download.sh
new file mode 100755
index 000000000..30555a5eb
--- /dev/null
+++ b/homebrew/ncurses/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/ncurses/ncurses-6.1.tar.gz || wget https://ftpmirror.gnu.org/ncurses/ncurses-6.1.tar.gz \ No newline at end of file