summaryrefslogtreecommitdiff
path: root/homebrew/hfstospell
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/hfstospell
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/hfstospell')
-rw-r--r--homebrew/hfstospell/.beer43
-rw-r--r--homebrew/hfstospell/.make.sh-auto5
-rw-r--r--homebrew/hfstospell/_metadata/description1
-rw-r--r--homebrew/hfstospell/_metadata/homepage1
-rw-r--r--homebrew/hfstospell/_metadata/name1
-rw-r--r--homebrew/hfstospell/_metadata/version1
-rwxr-xr-xhomebrew/hfstospell/download.sh1
-rwxr-xr-xhomebrew/hfstospell/patches.sh1
8 files changed, 54 insertions, 0 deletions
diff --git a/homebrew/hfstospell/.beer b/homebrew/hfstospell/.beer
new file mode 100644
index 000000000..27af13db9
--- /dev/null
+++ b/homebrew/hfstospell/.beer
@@ -0,0 +1,43 @@
+{
+ "name": "Hfstospell",
+ "description": "Helsinki Finite-State Technology ospell",
+ "url": "https://github.com/hfst/hfst-ospell/releases/download/v0.5.0/hfstospell-0.5.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://hfst.github.io/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "icu4c",
+ "build-depend": false
+ },
+ {
+ "depend": "libarchive",
+ "build-depend": false
+ },
+ {
+ "depend": "libxml++",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/674a62d/hfstospell/no-cxx17.diff",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "ENV.append \"CPPFLAGS\", \"-DU_USING_ICU_NAMESPACE=1\"",
+ "ENV.cxx11",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.5.0",
+ "file": "hfstospell.rb"
+} \ No newline at end of file
diff --git a/homebrew/hfstospell/.make.sh-auto b/homebrew/hfstospell/.make.sh-auto
new file mode 100644
index 000000000..62c7fa139
--- /dev/null
+++ b/homebrew/hfstospell/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+ENV.append "CPPFLAGS", "-DU_USING_ICU_NAMESPACE=1"
+ENV.cxx11
+pkg:configure --disable-dependency-tracking --disable-silent-rules
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/hfstospell/_metadata/description b/homebrew/hfstospell/_metadata/description
new file mode 100644
index 000000000..cc76ae807
--- /dev/null
+++ b/homebrew/hfstospell/_metadata/description
@@ -0,0 +1 @@
+Helsinki Finite-State Technology ospell
diff --git a/homebrew/hfstospell/_metadata/homepage b/homebrew/hfstospell/_metadata/homepage
new file mode 100644
index 000000000..993d79325
--- /dev/null
+++ b/homebrew/hfstospell/_metadata/homepage
@@ -0,0 +1 @@
+https://hfst.github.io/
diff --git a/homebrew/hfstospell/_metadata/name b/homebrew/hfstospell/_metadata/name
new file mode 100644
index 000000000..b4b166ca8
--- /dev/null
+++ b/homebrew/hfstospell/_metadata/name
@@ -0,0 +1 @@
+Hfstospell
diff --git a/homebrew/hfstospell/_metadata/version b/homebrew/hfstospell/_metadata/version
new file mode 100644
index 000000000..8f0916f76
--- /dev/null
+++ b/homebrew/hfstospell/_metadata/version
@@ -0,0 +1 @@
+0.5.0
diff --git a/homebrew/hfstospell/download.sh b/homebrew/hfstospell/download.sh
new file mode 100755
index 000000000..df2161a61
--- /dev/null
+++ b/homebrew/hfstospell/download.sh
@@ -0,0 +1 @@
+wget https://github.com/hfst/hfst-ospell/releases/download/v0.5.0/hfstospell-0.5.0.tar.gz \ No newline at end of file
diff --git a/homebrew/hfstospell/patches.sh b/homebrew/hfstospell/patches.sh
new file mode 100755
index 000000000..f5d195e07
--- /dev/null
+++ b/homebrew/hfstospell/patches.sh
@@ -0,0 +1 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/674a62d/hfstospell/no-cxx17.diff