summaryrefslogtreecommitdiff
path: root/homebrew/libxmlsec1/.beer
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/libxmlsec1/.beer
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/libxmlsec1/.beer')
-rw-r--r--homebrew/libxmlsec1/.beer61
1 files changed, 61 insertions, 0 deletions
diff --git a/homebrew/libxmlsec1/.beer b/homebrew/libxmlsec1/.beer
new file mode 100644
index 000000000..cfee2d805
--- /dev/null
+++ b/homebrew/libxmlsec1/.beer
@@ -0,0 +1,61 @@
+{
+ "name": "Libxmlsec1",
+ "description": "XML security library",
+ "url": "https://www.aleksey.com/xmlsec/download/xmlsec1-1.2.27.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.aleksey.com/xmlsec/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "gnutls",
+ "build-depend": false
+ },
+ {
+ "depend": "libgcrypt",
+ "build-depend": false
+ },
+ {
+ "depend": "libxml2",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": null,
+ "data": [
+ "diff --git a/src/dl.c b/src/dl.c\n",
+ "index 6e8a56a..0e7f06b 100644\n",
+ "--- a/src/dl.c\n",
+ "+++ b/src/dl.c\n",
+ "@@ -141,6 +141,7 @@ xmlSecCryptoDLLibraryCreate(const xmlChar* name) {\n",
+ " }\n",
+ "\n",
+ " #ifdef XMLSEC_DL_LIBLTDL\n",
+ "+ lt_dlsetsearchpath(\"HOMEBREW_PREFIX/lib\");\n",
+ " lib->handle = lt_dlopenext((char*)lib->filename);\n",
+ " if(lib->handle == NULL) {\n",
+ " xmlSecError(XMLSEC_ERRORS_HERE,\n"
+ ]
+ }
+ ],
+ "install": [
+ "args = [\"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--disable-crypto-dl\",",
+ "\"--disable-apps-crypto-dl\",",
+ "\"--with-openssl=#{Formula[\"openssl\"].opt_prefix}\"]",
+ "system \"./configure\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.2.27",
+ "file": "libxmlsec1.rb"
+} \ No newline at end of file