summaryrefslogtreecommitdiff
path: root/homebrew/whois
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/whois')
-rw-r--r--homebrew/whois/.beer29
-rw-r--r--homebrew/whois/.make.sh-auto6
-rw-r--r--homebrew/whois/_metadata/description1
-rw-r--r--homebrew/whois/_metadata/homepage1
-rw-r--r--homebrew/whois/_metadata/name1
-rw-r--r--homebrew/whois/_metadata/version1
-rwxr-xr-xhomebrew/whois/download.sh1
7 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/whois/.beer b/homebrew/whois/.beer
new file mode 100644
index 000000000..39fffabe4
--- /dev/null
+++ b/homebrew/whois/.beer
@@ -0,0 +1,29 @@
+{
+ "name": "Whois",
+ "description": "Lookup tool for domain names and other internet resources",
+ "url": "https://deb.debian.org/debian/pool/main/w/whois/whois_5.4.2.tar.xz",
+ "mirror": null,
+ "homepage": "https://packages.debian.org/sid/whois",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libidn2",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.append \"LDFLAGS\", \"-L/usr/lib -liconv\"",
+ "system \"make\", \"whois\", \"HAVE_ICONV=1\"",
+ "bin.install \"whois\"",
+ "man1.install \"whois.1\"",
+ "man5.install \"whois.conf.5\""
+ ],
+ "version": "5.4.2",
+ "file": "whois.rb"
+} \ No newline at end of file
diff --git a/homebrew/whois/.make.sh-auto b/homebrew/whois/.make.sh-auto
new file mode 100644
index 000000000..072bcdf00
--- /dev/null
+++ b/homebrew/whois/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+ENV.append "LDFLAGS", "-L/usr/lib -liconv"
+make whois HAVE_ICONV=1
+bin.install "whois"
+man1.install "whois.1"
+man5.install "whois.conf.5"
diff --git a/homebrew/whois/_metadata/description b/homebrew/whois/_metadata/description
new file mode 100644
index 000000000..3676db16e
--- /dev/null
+++ b/homebrew/whois/_metadata/description
@@ -0,0 +1 @@
+Lookup tool for domain names and other internet resources
diff --git a/homebrew/whois/_metadata/homepage b/homebrew/whois/_metadata/homepage
new file mode 100644
index 000000000..cec85aafe
--- /dev/null
+++ b/homebrew/whois/_metadata/homepage
@@ -0,0 +1 @@
+https://packages.debian.org/sid/whois
diff --git a/homebrew/whois/_metadata/name b/homebrew/whois/_metadata/name
new file mode 100644
index 000000000..2960d44d6
--- /dev/null
+++ b/homebrew/whois/_metadata/name
@@ -0,0 +1 @@
+Whois
diff --git a/homebrew/whois/_metadata/version b/homebrew/whois/_metadata/version
new file mode 100644
index 000000000..8ae03c119
--- /dev/null
+++ b/homebrew/whois/_metadata/version
@@ -0,0 +1 @@
+5.4.2
diff --git a/homebrew/whois/download.sh b/homebrew/whois/download.sh
new file mode 100755
index 000000000..85b419e6f
--- /dev/null
+++ b/homebrew/whois/download.sh
@@ -0,0 +1 @@
+wget https://deb.debian.org/debian/pool/main/w/whois/whois_5.4.2.tar.xz \ No newline at end of file