diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/dict | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (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/dict')
-rw-r--r-- | homebrew/dict/.beer | 33 | ||||
-rw-r--r-- | homebrew/dict/.make.sh-auto | 9 | ||||
-rw-r--r-- | homebrew/dict/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/dict/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/dict/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/dict/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/dict/download.sh | 1 |
7 files changed, 47 insertions, 0 deletions
diff --git a/homebrew/dict/.beer b/homebrew/dict/.beer new file mode 100644 index 000000000..11b02f1e2 --- /dev/null +++ b/homebrew/dict/.beer @@ -0,0 +1,33 @@ +{ + "name": "Dict", + "description": "Dictionary Server Protocol (RFC2229) client", + "url": "https://downloads.sourceforge.net/project/dict/dictd/dictd-1.12.1/dictd-1.12.1.tar.gz", + "mirror": null, + "homepage": "http://www.dict.org/", + "depends": [ + { + "depend": "libtool", + "build-depend": true + }, + { + "depend": "libmaa", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "ENV[\"LIBTOOL\"] = \"glibtool\"", + "system \"./configure\", \"--prefix=#{prefix}\", \"--sysconfdir=#{etc}\",", + "\"--mandir=#{man}\"", + "system \"make\"", + "system \"make\", \"install\"", + "(prefix+\"etc/dict.conf\").write <<~EOS", + "server localhost", + "server dict.org", + "EOS" + ], + "version": "1.12.1", + "file": "dict.rb" +}
\ No newline at end of file diff --git a/homebrew/dict/.make.sh-auto b/homebrew/dict/.make.sh-auto new file mode 100644 index 000000000..a3ac1956e --- /dev/null +++ b/homebrew/dict/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +ENV["LIBTOOL"] = "glibtool" +pkg:configure +make +make DESTDIR=${PKG_DEST} install +(prefix+"etc/dict.conf").write <<~EOS +server localhost +server dict.org +EOS diff --git a/homebrew/dict/_metadata/description b/homebrew/dict/_metadata/description new file mode 100644 index 000000000..95074ad6d --- /dev/null +++ b/homebrew/dict/_metadata/description @@ -0,0 +1 @@ +Dictionary Server Protocol (RFC2229) client diff --git a/homebrew/dict/_metadata/homepage b/homebrew/dict/_metadata/homepage new file mode 100644 index 000000000..603b86721 --- /dev/null +++ b/homebrew/dict/_metadata/homepage @@ -0,0 +1 @@ +http://www.dict.org/ diff --git a/homebrew/dict/_metadata/name b/homebrew/dict/_metadata/name new file mode 100644 index 000000000..7e09d2c78 --- /dev/null +++ b/homebrew/dict/_metadata/name @@ -0,0 +1 @@ +Dict diff --git a/homebrew/dict/_metadata/version b/homebrew/dict/_metadata/version new file mode 100644 index 000000000..f8f4f03b3 --- /dev/null +++ b/homebrew/dict/_metadata/version @@ -0,0 +1 @@ +1.12.1 diff --git a/homebrew/dict/download.sh b/homebrew/dict/download.sh new file mode 100755 index 000000000..bdec1ed37 --- /dev/null +++ b/homebrew/dict/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/project/dict/dictd/dictd-1.12.1/dictd-1.12.1.tar.gz
\ No newline at end of file |