summaryrefslogtreecommitdiff
path: root/homebrew/xalanc
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/xalanc
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/xalanc')
-rw-r--r--homebrew/xalanc/.beer40
-rw-r--r--homebrew/xalanc/.make.sh-auto10
-rw-r--r--homebrew/xalanc/_metadata/description1
-rw-r--r--homebrew/xalanc/_metadata/homepage1
-rw-r--r--homebrew/xalanc/_metadata/name1
-rw-r--r--homebrew/xalanc/_metadata/version1
-rwxr-xr-xhomebrew/xalanc/download.sh1
-rwxr-xr-xhomebrew/xalanc/patches.sh2
8 files changed, 57 insertions, 0 deletions
diff --git a/homebrew/xalanc/.beer b/homebrew/xalanc/.beer
new file mode 100644
index 000000000..1705c29e1
--- /dev/null
+++ b/homebrew/xalanc/.beer
@@ -0,0 +1,40 @@
+{
+ "name": "XalanC",
+ "description": "XSLT processor",
+ "url": "https://www.apache.org/dyn/closer.cgi?path=xalan/xalan-c/sources/xalan_c-1.11-src.tar.gz",
+ "mirror": null,
+ "homepage": "https://xalan.apache.org/xalan-c/",
+ "depends": [
+ {
+ "depend": "xerces-c",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/master/xalan-c/xerces-char16.patch",
+ "strip": "1"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/master/xalan-c/locator-system-id.patch",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "ENV.cxx11",
+ "ENV.deparallelize ",
+ "ENV[\"XALANCROOT\"] = \"#{buildpath}/c\"",
+ "ENV[\"XALAN_LOCALE_SYSTEM\"] = \"inmem\"",
+ "ENV[\"XALAN_LOCALE\"] = \"en_US\"",
+ "cd \"c\" do",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\"",
+ "rm Dir[\"#{lib}/*.dylib.*\"]"
+ ],
+ "version": "1.11",
+ "file": "xalan-c.rb"
+} \ No newline at end of file
diff --git a/homebrew/xalanc/.make.sh-auto b/homebrew/xalanc/.make.sh-auto
new file mode 100644
index 000000000..e84b25d5a
--- /dev/null
+++ b/homebrew/xalanc/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+ENV.cxx11
+ENV.deparallelize
+ENV["XALANCROOT"] = "#{buildpath}/c"
+ENV["XALAN_LOCALE_SYSTEM"] = "inmem"
+ENV["XALAN_LOCALE"] = "en_US"
+cd "c"
+pkg:configure --disable-dependency-tracking --disable-silent-rules
+make DESTDIR=${PKG_DEST} install
+rm Dir["#{lib}/*.dylib.*"]
diff --git a/homebrew/xalanc/_metadata/description b/homebrew/xalanc/_metadata/description
new file mode 100644
index 000000000..31e303221
--- /dev/null
+++ b/homebrew/xalanc/_metadata/description
@@ -0,0 +1 @@
+XSLT processor
diff --git a/homebrew/xalanc/_metadata/homepage b/homebrew/xalanc/_metadata/homepage
new file mode 100644
index 000000000..66363368d
--- /dev/null
+++ b/homebrew/xalanc/_metadata/homepage
@@ -0,0 +1 @@
+https://xalan.apache.org/xalan-c/
diff --git a/homebrew/xalanc/_metadata/name b/homebrew/xalanc/_metadata/name
new file mode 100644
index 000000000..bd508d90f
--- /dev/null
+++ b/homebrew/xalanc/_metadata/name
@@ -0,0 +1 @@
+XalanC
diff --git a/homebrew/xalanc/_metadata/version b/homebrew/xalanc/_metadata/version
new file mode 100644
index 000000000..096015870
--- /dev/null
+++ b/homebrew/xalanc/_metadata/version
@@ -0,0 +1 @@
+1.11
diff --git a/homebrew/xalanc/download.sh b/homebrew/xalanc/download.sh
new file mode 100755
index 000000000..9b44db32c
--- /dev/null
+++ b/homebrew/xalanc/download.sh
@@ -0,0 +1 @@
+wget https://www.apache.org/dyn/closer.cgi?path=xalan/xalan-c/sources/xalan_c-1.11-src.tar.gz \ No newline at end of file
diff --git a/homebrew/xalanc/patches.sh b/homebrew/xalanc/patches.sh
new file mode 100755
index 000000000..7f9b4b3c6
--- /dev/null
+++ b/homebrew/xalanc/patches.sh
@@ -0,0 +1,2 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/master/xalan-c/xerces-char16.patch
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/master/xalan-c/locator-system-id.patch