diff options
Diffstat (limited to 'homebrew/libswiften')
-rw-r--r-- | homebrew/libswiften/.beer | 64 | ||||
-rw-r--r-- | homebrew/libswiften/.make.sh-auto | 6 | ||||
-rw-r--r-- | homebrew/libswiften/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/libswiften/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/libswiften/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/libswiften/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/libswiften/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/libswiften/patches.sh | 2 |
8 files changed, 77 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 diff --git a/homebrew/libswiften/.make.sh-auto b/homebrew/libswiften/.make.sh-auto new file mode 100644 index 000000000..1c83135d5 --- /dev/null +++ b/homebrew/libswiften/.make.sh-auto @@ -0,0 +1,6 @@ +pkg:setup +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} ] +scons *args diff --git a/homebrew/libswiften/_metadata/description b/homebrew/libswiften/_metadata/description new file mode 100644 index 000000000..74163e249 --- /dev/null +++ b/homebrew/libswiften/_metadata/description @@ -0,0 +1 @@ +C++ library for implementing XMPP applications diff --git a/homebrew/libswiften/_metadata/homepage b/homebrew/libswiften/_metadata/homepage new file mode 100644 index 000000000..a6aa11e6e --- /dev/null +++ b/homebrew/libswiften/_metadata/homepage @@ -0,0 +1 @@ +https://swift.im/swiften diff --git a/homebrew/libswiften/_metadata/name b/homebrew/libswiften/_metadata/name new file mode 100644 index 000000000..087a3e84a --- /dev/null +++ b/homebrew/libswiften/_metadata/name @@ -0,0 +1 @@ +Libswiften diff --git a/homebrew/libswiften/_metadata/version b/homebrew/libswiften/_metadata/version new file mode 100644 index 000000000..5186d0706 --- /dev/null +++ b/homebrew/libswiften/_metadata/version @@ -0,0 +1 @@ +4.0 diff --git a/homebrew/libswiften/download.sh b/homebrew/libswiften/download.sh new file mode 100755 index 000000000..e424a1642 --- /dev/null +++ b/homebrew/libswiften/download.sh @@ -0,0 +1 @@ +wget https://swift.im/downloads/releases/swift-4.0/swift-4.0.tar.gz
\ No newline at end of file diff --git a/homebrew/libswiften/patches.sh b/homebrew/libswiften/patches.sh new file mode 100755 index 000000000..50cbd2108 --- /dev/null +++ b/homebrew/libswiften/patches.sh @@ -0,0 +1,2 @@ +wget https://swift.im/git/swift/patch/?id=3666cbbe30e4d4e25401a5902ae359bc2c24248b +wget https://swift.im/git/swift/patch/?id=a2dc74cd0e4891037b97b6a782de80458675e4f0 |