diff options
Diffstat (limited to 'homebrew/mariadbconnectorodbc')
-rw-r--r-- | homebrew/mariadbconnectorodbc/.beer | 37 | ||||
-rw-r--r-- | homebrew/mariadbconnectorodbc/.make.sh-auto | 3 | ||||
-rw-r--r-- | homebrew/mariadbconnectorodbc/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/mariadbconnectorodbc/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/mariadbconnectorodbc/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/mariadbconnectorodbc/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/mariadbconnectorodbc/download.sh | 1 |
7 files changed, 45 insertions, 0 deletions
diff --git a/homebrew/mariadbconnectorodbc/.beer b/homebrew/mariadbconnectorodbc/.beer new file mode 100644 index 000000000..c3b15c36e --- /dev/null +++ b/homebrew/mariadbconnectorodbc/.beer @@ -0,0 +1,37 @@ +{ + "name": "MariadbConnectorOdbc", + "description": "Database driver using the industry standard ODBC API", + "url": "https://downloads.mariadb.org/f/connector-odbc-3.0.2/mariadb-connector-odbc-3.0.2-ga-src.tar.gz", + "mirror": null, + "homepage": "https://downloads.mariadb.org/connector-odbc/", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "mariadb-connector-c", + "build-depend": false + }, + { + "depend": "openssl", + "build-depend": false + }, + { + "depend": "unixodbc", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "system \"cmake\", \".\", \"-DMARIADB_FOUND=1\",", + "\"-DWITH_OPENSSL=1\",", + "\"-DOPENSSL_INCLUDE_DIR=#{Formula[\"openssl\"].opt_include}\",", + "*std_cmake_args", + "system \"make\", \"install\"" + ], + "version": "3.0.2", + "file": "mariadb-connector-odbc.rb" +}
\ No newline at end of file diff --git a/homebrew/mariadbconnectorodbc/.make.sh-auto b/homebrew/mariadbconnectorodbc/.make.sh-auto new file mode 100644 index 000000000..c90f87799 --- /dev/null +++ b/homebrew/mariadbconnectorodbc/.make.sh-auto @@ -0,0 +1,3 @@ +pkg:setup +cmake . -DMARIADB_FOUND=1 -DWITH_OPENSSL=1 -DOPENSSL_INCLUDE_DIR=#{Formula[openssl"].opt_include}" -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/mariadbconnectorodbc/_metadata/description b/homebrew/mariadbconnectorodbc/_metadata/description new file mode 100644 index 000000000..32e2e6735 --- /dev/null +++ b/homebrew/mariadbconnectorodbc/_metadata/description @@ -0,0 +1 @@ +Database driver using the industry standard ODBC API diff --git a/homebrew/mariadbconnectorodbc/_metadata/homepage b/homebrew/mariadbconnectorodbc/_metadata/homepage new file mode 100644 index 000000000..8d6ccd8bc --- /dev/null +++ b/homebrew/mariadbconnectorodbc/_metadata/homepage @@ -0,0 +1 @@ +https://downloads.mariadb.org/connector-odbc/ diff --git a/homebrew/mariadbconnectorodbc/_metadata/name b/homebrew/mariadbconnectorodbc/_metadata/name new file mode 100644 index 000000000..685a9784f --- /dev/null +++ b/homebrew/mariadbconnectorodbc/_metadata/name @@ -0,0 +1 @@ +MariadbConnectorOdbc diff --git a/homebrew/mariadbconnectorodbc/_metadata/version b/homebrew/mariadbconnectorodbc/_metadata/version new file mode 100644 index 000000000..b50214693 --- /dev/null +++ b/homebrew/mariadbconnectorodbc/_metadata/version @@ -0,0 +1 @@ +3.0.2 diff --git a/homebrew/mariadbconnectorodbc/download.sh b/homebrew/mariadbconnectorodbc/download.sh new file mode 100755 index 000000000..ac5758691 --- /dev/null +++ b/homebrew/mariadbconnectorodbc/download.sh @@ -0,0 +1 @@ +wget https://downloads.mariadb.org/f/connector-odbc-3.0.2/mariadb-connector-odbc-3.0.2-ga-src.tar.gz
\ No newline at end of file |