summaryrefslogtreecommitdiff
path: root/homebrew/idutils
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/idutils
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/idutils')
-rw-r--r--homebrew/idutils/.beer30
-rw-r--r--homebrew/idutils/.make.sh-auto4
-rw-r--r--homebrew/idutils/_metadata/description1
-rw-r--r--homebrew/idutils/_metadata/homepage1
-rw-r--r--homebrew/idutils/_metadata/name1
-rw-r--r--homebrew/idutils/_metadata/version1
-rwxr-xr-xhomebrew/idutils/download.sh1
-rwxr-xr-xhomebrew/idutils/patches.sh1
8 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/idutils/.beer b/homebrew/idutils/.beer
new file mode 100644
index 000000000..97bd530a9
--- /dev/null
+++ b/homebrew/idutils/.beer
@@ -0,0 +1,30 @@
+{
+ "name": "Idutils",
+ "description": "ID database and query tools",
+ "url": "https://ftp.gnu.org/gnu/idutils/idutils-4.6.tar.xz",
+ "mirror": "https://ftpmirror.gnu.org/idutils/idutils-4.6.tar.xz",
+ "homepage": "https://www.gnu.org/s/idutils/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "coreutils",
+ "reason": "both install `gid` and `gid.1`"
+ }
+ ],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/macports/macports-ports/b76d1e48dac/editors/nano/files/secure_snprintf.patch",
+ "strip": "0"
+ }
+ ],
+ "install": [
+ "ENV[\"gl_cv_func_getcwd_abort_bug\"] = \"no\" if MacOS.version == :el_capitan",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--with-lispdir=#{elisp}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "4.6",
+ "file": "idutils.rb"
+} \ No newline at end of file
diff --git a/homebrew/idutils/.make.sh-auto b/homebrew/idutils/.make.sh-auto
new file mode 100644
index 000000000..e29626952
--- /dev/null
+++ b/homebrew/idutils/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+ENV["gl_cv_func_getcwd_abort_bug"] = "no" if MacOS.version == :el_capitan
+pkg:configure --disable-dependency-tracking --with-lispdir=#{elisp}
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/idutils/_metadata/description b/homebrew/idutils/_metadata/description
new file mode 100644
index 000000000..3bb6f3335
--- /dev/null
+++ b/homebrew/idutils/_metadata/description
@@ -0,0 +1 @@
+ID database and query tools
diff --git a/homebrew/idutils/_metadata/homepage b/homebrew/idutils/_metadata/homepage
new file mode 100644
index 000000000..5f28149d8
--- /dev/null
+++ b/homebrew/idutils/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/s/idutils/
diff --git a/homebrew/idutils/_metadata/name b/homebrew/idutils/_metadata/name
new file mode 100644
index 000000000..b162bcc57
--- /dev/null
+++ b/homebrew/idutils/_metadata/name
@@ -0,0 +1 @@
+Idutils
diff --git a/homebrew/idutils/_metadata/version b/homebrew/idutils/_metadata/version
new file mode 100644
index 000000000..b3d791d75
--- /dev/null
+++ b/homebrew/idutils/_metadata/version
@@ -0,0 +1 @@
+4.6
diff --git a/homebrew/idutils/download.sh b/homebrew/idutils/download.sh
new file mode 100755
index 000000000..137074113
--- /dev/null
+++ b/homebrew/idutils/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/idutils/idutils-4.6.tar.xz || wget https://ftpmirror.gnu.org/idutils/idutils-4.6.tar.xz \ No newline at end of file
diff --git a/homebrew/idutils/patches.sh b/homebrew/idutils/patches.sh
new file mode 100755
index 000000000..5dc7bb7eb
--- /dev/null
+++ b/homebrew/idutils/patches.sh
@@ -0,0 +1 @@
+wget https://raw.githubusercontent.com/macports/macports-ports/b76d1e48dac/editors/nano/files/secure_snprintf.patch