diff options
Diffstat (limited to 'homebrew/soci')
-rw-r--r-- | homebrew/soci/.beer | 35 | ||||
-rw-r--r-- | homebrew/soci/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/soci/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/soci/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/soci/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/soci/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/soci/download.sh | 1 |
7 files changed, 45 insertions, 0 deletions
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 |