summaryrefslogtreecommitdiff
path: root/homebrew/libbitcoinserver
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/libbitcoinserver
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/libbitcoinserver')
-rw-r--r--homebrew/libbitcoinserver/.beer47
-rw-r--r--homebrew/libbitcoinserver/.make.sh-auto6
-rw-r--r--homebrew/libbitcoinserver/_metadata/description1
-rw-r--r--homebrew/libbitcoinserver/_metadata/homepage1
-rw-r--r--homebrew/libbitcoinserver/_metadata/name1
-rw-r--r--homebrew/libbitcoinserver/_metadata/version1
-rwxr-xr-xhomebrew/libbitcoinserver/download.sh1
7 files changed, 58 insertions, 0 deletions
diff --git a/homebrew/libbitcoinserver/.beer b/homebrew/libbitcoinserver/.beer
new file mode 100644
index 000000000..1a9a101ed
--- /dev/null
+++ b/homebrew/libbitcoinserver/.beer
@@ -0,0 +1,47 @@
+{
+ "name": "LibbitcoinServer",
+ "description": "Bitcoin Full Node and Query Server",
+ "url": "https://github.com/libbitcoin/libbitcoin-server/archive/v3.5.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/libbitcoin/libbitcoin-server",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libbitcoin-node",
+ "build-depend": false
+ },
+ {
+ "depend": "libbitcoin-protocol",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.prepend_path \"PKG_CONFIG_PATH\", Formula[\"libbitcoin\"].opt_libexec/\"lib/pkgconfig\"",
+ "system \"./autogen.sh\"",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\"",
+ "bash_completion.install \"data/bs\""
+ ],
+ "version": "3.5.0",
+ "file": "libbitcoin-server.rb"
+} \ No newline at end of file
diff --git a/homebrew/libbitcoinserver/.make.sh-auto b/homebrew/libbitcoinserver/.make.sh-auto
new file mode 100644
index 000000000..991f9f0d2
--- /dev/null
+++ b/homebrew/libbitcoinserver/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+ENV.prepend_path "PKG_CONFIG_PATH", Formula["libbitcoin"].opt_libexec/"lib/pkgconfig"
+./autogen.sh
+pkg:configure --disable-dependency-tracking --disable-silent-rules
+make DESTDIR=${PKG_DEST} install
+bash_completion.install "data/bs"
diff --git a/homebrew/libbitcoinserver/_metadata/description b/homebrew/libbitcoinserver/_metadata/description
new file mode 100644
index 000000000..cef30357f
--- /dev/null
+++ b/homebrew/libbitcoinserver/_metadata/description
@@ -0,0 +1 @@
+Bitcoin Full Node and Query Server
diff --git a/homebrew/libbitcoinserver/_metadata/homepage b/homebrew/libbitcoinserver/_metadata/homepage
new file mode 100644
index 000000000..d31c8a2d4
--- /dev/null
+++ b/homebrew/libbitcoinserver/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/libbitcoin/libbitcoin-server
diff --git a/homebrew/libbitcoinserver/_metadata/name b/homebrew/libbitcoinserver/_metadata/name
new file mode 100644
index 000000000..00c2743a7
--- /dev/null
+++ b/homebrew/libbitcoinserver/_metadata/name
@@ -0,0 +1 @@
+LibbitcoinServer
diff --git a/homebrew/libbitcoinserver/_metadata/version b/homebrew/libbitcoinserver/_metadata/version
new file mode 100644
index 000000000..1545d9665
--- /dev/null
+++ b/homebrew/libbitcoinserver/_metadata/version
@@ -0,0 +1 @@
+3.5.0
diff --git a/homebrew/libbitcoinserver/download.sh b/homebrew/libbitcoinserver/download.sh
new file mode 100755
index 000000000..c24524cae
--- /dev/null
+++ b/homebrew/libbitcoinserver/download.sh
@@ -0,0 +1 @@
+wget https://github.com/libbitcoin/libbitcoin-server/archive/v3.5.0.tar.gz \ No newline at end of file