summaryrefslogtreecommitdiff
path: root/homebrew/libsbol
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/libsbol
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/libsbol')
-rw-r--r--homebrew/libsbol/.beer37
-rw-r--r--homebrew/libsbol/.make.sh-auto3
-rw-r--r--homebrew/libsbol/_metadata/description1
-rw-r--r--homebrew/libsbol/_metadata/homepage1
-rw-r--r--homebrew/libsbol/_metadata/name1
-rw-r--r--homebrew/libsbol/_metadata/version1
-rwxr-xr-xhomebrew/libsbol/download.sh1
7 files changed, 45 insertions, 0 deletions
diff --git a/homebrew/libsbol/.beer b/homebrew/libsbol/.beer
new file mode 100644
index 000000000..3e8d12deb
--- /dev/null
+++ b/homebrew/libsbol/.beer
@@ -0,0 +1,37 @@
+{
+ "name": "Libsbol",
+ "description": "Read and write files in the Synthetic Biology Open Language (SBOL)",
+ "url": "https://github.com/SynBioDex/libSBOL/archive/v2.3.0.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://synbiodex.github.io/libSBOL",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "jsoncpp",
+ "build-depend": false
+ },
+ {
+ "depend": "raptor",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"cmake\", \".\", \"-DCMAKE_CXX_FLAGS=-I/System/Library/Frameworks/Python.framework/Headers\",",
+ "\"-DSBOL_BUILD_SHARED=TRUE\",",
+ "\"-DSBOL_BUILD_STATIC=FALSE\",",
+ "*std_cmake_args",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.3.0.0",
+ "file": "libsbol.rb"
+} \ No newline at end of file
diff --git a/homebrew/libsbol/.make.sh-auto b/homebrew/libsbol/.make.sh-auto
new file mode 100644
index 000000000..9da2995ac
--- /dev/null
+++ b/homebrew/libsbol/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+cmake . -DCMAKE_CXX_FLAGS=-I/System/Library/Frameworks/Python.framework/Headers -DSBOL_BUILD_SHARED=TRUE -DSBOL_BUILD_STATIC=FALSE -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libsbol/_metadata/description b/homebrew/libsbol/_metadata/description
new file mode 100644
index 000000000..f9d76ebc3
--- /dev/null
+++ b/homebrew/libsbol/_metadata/description
@@ -0,0 +1 @@
+Read and write files in the Synthetic Biology Open Language (SBOL)
diff --git a/homebrew/libsbol/_metadata/homepage b/homebrew/libsbol/_metadata/homepage
new file mode 100644
index 000000000..6ca43540b
--- /dev/null
+++ b/homebrew/libsbol/_metadata/homepage
@@ -0,0 +1 @@
+https://synbiodex.github.io/libSBOL
diff --git a/homebrew/libsbol/_metadata/name b/homebrew/libsbol/_metadata/name
new file mode 100644
index 000000000..f9122b25c
--- /dev/null
+++ b/homebrew/libsbol/_metadata/name
@@ -0,0 +1 @@
+Libsbol
diff --git a/homebrew/libsbol/_metadata/version b/homebrew/libsbol/_metadata/version
new file mode 100644
index 000000000..11e7722c5
--- /dev/null
+++ b/homebrew/libsbol/_metadata/version
@@ -0,0 +1 @@
+2.3.0.0
diff --git a/homebrew/libsbol/download.sh b/homebrew/libsbol/download.sh
new file mode 100755
index 000000000..a5c6d6c61
--- /dev/null
+++ b/homebrew/libsbol/download.sh
@@ -0,0 +1 @@
+wget https://github.com/SynBioDex/libSBOL/archive/v2.3.0.0.tar.gz \ No newline at end of file