summaryrefslogtreecommitdiff
path: root/homebrew/libswiften/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libswiften/.beer')
-rw-r--r--homebrew/libswiften/.beer64
1 files changed, 64 insertions, 0 deletions
diff --git a/homebrew/libswiften/.beer b/homebrew/libswiften/.beer
new file mode 100644
index 000000000..a34d2f64f
--- /dev/null
+++ b/homebrew/libswiften/.beer
@@ -0,0 +1,64 @@
+{
+ "name": "Libswiften",
+ "description": "C++ library for implementing XMPP applications",
+ "url": "https://swift.im/downloads/releases/swift-4.0/swift-4.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://swift.im/swiften",
+ "depends": [
+ {
+ "depend": "scons",
+ "build-depend": true
+ },
+ {
+ "depend": "boost",
+ "build-depend": false
+ },
+ {
+ "depend": "libidn",
+ "build-depend": false
+ },
+ {
+ "depend": "lua@5.1",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://swift.im/git/swift/patch/?id=3666cbbe30e4d4e25401a5902ae359bc2c24248b",
+ "strip": "1"
+ },
+ {
+ "url": "https://swift.im/git/swift/patch/?id=a2dc74cd0e4891037b97b6a782de80458675e4f0",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "boost = Formula[\"boost\"]",
+ "libidn = Formula[\"libidn\"]",
+ "lua = Formula[\"lua@5.1\"]",
+ "args = %W[",
+ "-j #{ENV.make_jobs}",
+ "V=1",
+ "linkflags=-headerpad_max_install_names",
+ "optimize=1 debug=0",
+ "allow_warnings=1",
+ "swiften_dll=1",
+ "boost_includedir=#{boost.include}",
+ "boost_libdir=#{boost.lib}",
+ "libidn_includedir=#{libidn.include}",
+ "libidn_libdir=#{libidn.lib}",
+ "SWIFTEN_INSTALLDIR=#{prefix}",
+ "openssl=no",
+ "SLUIFT_INSTALLDIR=#{prefix}",
+ "lua_includedir=#{lua.include}/lua-5.1",
+ "lua_libdir=#{lua.lib}",
+ "lua_libname=lua.5.1",
+ "#{prefix}",
+ "]",
+ "system \"scons\", *args"
+ ],
+ "version": "4.0",
+ "file": "libswiften.rb"
+} \ No newline at end of file