From 12335518ab39608d58370c85ff9f5384ad2aa5f7 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:49:46 -0500 Subject: Ported in the homebrew-marauder for a hacky update/import system. TODO: Maybe add a license & fix up messy code. --- homebrew/soci/.beer | 35 +++++++++++++++++++++++++++++++++++ homebrew/soci/.make.sh-auto | 5 +++++ homebrew/soci/_metadata/description | 1 + homebrew/soci/_metadata/homepage | 1 + homebrew/soci/_metadata/name | 1 + homebrew/soci/_metadata/version | 1 + homebrew/soci/download.sh | 1 + 7 files changed, 45 insertions(+) create mode 100644 homebrew/soci/.beer create mode 100644 homebrew/soci/.make.sh-auto create mode 100644 homebrew/soci/_metadata/description create mode 100644 homebrew/soci/_metadata/homepage create mode 100644 homebrew/soci/_metadata/name create mode 100644 homebrew/soci/_metadata/version create mode 100755 homebrew/soci/download.sh (limited to 'homebrew/soci') diff --git a/homebrew/soci/.beer b/homebrew/soci/.beer new file mode 100644 index 000000000..975f2592f --- /dev/null +++ b/homebrew/soci/.beer @@ -0,0 +1,35 @@ +{ + "name": "Soci", + "description": "Database access library for C++", + "url": "https://downloads.sourceforge.net/project/soci/soci/soci-3.2.3/soci-3.2.3.zip", + "mirror": null, + "homepage": "https://soci.sourceforge.io/", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "sqlite", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "args = std_cmake_args + %w[", + "-DWITH_SQLITE3:BOOL=ON", + "-DWITH_BOOST:BOOL=OFF", + "-DWITH_MYSQL:BOOL=OFF", + "-DWITH_ODBC:BOOL=OFF", + "-DWITH_ORACLE:BOOL=OFF", + "-DWITH_POSTGRESQL:BOOL=OFF", + "]", + "mkdir \"build\" do", + "system \"cmake\", \"..\", *args", + "system \"make\", \"install\"" + ], + "version": "3.2.3", + "file": "soci.rb" +} \ No newline at end of file diff --git a/homebrew/soci/.make.sh-auto b/homebrew/soci/.make.sh-auto new file mode 100644 index 000000000..135440b95 --- /dev/null +++ b/homebrew/soci/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +args = std_cmake_args + %w[-DWITH_SQLITE3:BOOL=ON -DWITH_BOOST:BOOL=OFF -DWITH_MYSQL:BOOL=OFF -DWITH_ODBC:BOOL=OFF -DWITH_ORACLE:BOOL=OFF -DWITH_POSTGRESQL:BOOL=OFF ] +mkdir "build" && cd build +cmake .. *args +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/soci/_metadata/description b/homebrew/soci/_metadata/description new file mode 100644 index 000000000..60f5511ca --- /dev/null +++ b/homebrew/soci/_metadata/description @@ -0,0 +1 @@ +Database access library for C++ diff --git a/homebrew/soci/_metadata/homepage b/homebrew/soci/_metadata/homepage new file mode 100644 index 000000000..4b1dc6f0a --- /dev/null +++ b/homebrew/soci/_metadata/homepage @@ -0,0 +1 @@ +https://soci.sourceforge.io/ diff --git a/homebrew/soci/_metadata/name b/homebrew/soci/_metadata/name new file mode 100644 index 000000000..94fb186e3 --- /dev/null +++ b/homebrew/soci/_metadata/name @@ -0,0 +1 @@ +Soci diff --git a/homebrew/soci/_metadata/version b/homebrew/soci/_metadata/version new file mode 100644 index 000000000..b347b11ea --- /dev/null +++ b/homebrew/soci/_metadata/version @@ -0,0 +1 @@ +3.2.3 diff --git a/homebrew/soci/download.sh b/homebrew/soci/download.sh new file mode 100755 index 000000000..9cd81f398 --- /dev/null +++ b/homebrew/soci/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/project/soci/soci/soci-3.2.3/soci-3.2.3.zip \ No newline at end of file -- cgit v1.2.3