summaryrefslogtreecommitdiff
path: root/homebrew/mysqlxx
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mysqlxx')
-rw-r--r--homebrew/mysqlxx/.beer27
-rw-r--r--homebrew/mysqlxx/.make.sh-auto4
-rw-r--r--homebrew/mysqlxx/_metadata/description1
-rw-r--r--homebrew/mysqlxx/_metadata/homepage1
-rw-r--r--homebrew/mysqlxx/_metadata/name1
-rw-r--r--homebrew/mysqlxx/_metadata/version1
-rwxr-xr-xhomebrew/mysqlxx/download.sh1
7 files changed, 36 insertions, 0 deletions
diff --git a/homebrew/mysqlxx/.beer b/homebrew/mysqlxx/.beer
new file mode 100644
index 000000000..842b2bcec
--- /dev/null
+++ b/homebrew/mysqlxx/.beer
@@ -0,0 +1,27 @@
+{
+ "name": "Mysqlxx",
+ "description": "C++ wrapper for MySQL",
+ "url": "https://tangentsoft.com/mysqlpp/releases/mysql++-3.2.3.tar.gz",
+ "mirror": null,
+ "homepage": "https://tangentsoft.com/mysqlpp/home",
+ "depends": [
+ {
+ "depend": "mysql-client",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "mysql = Formula[\"mysql-client\"]",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--with-field-limit=40\",",
+ "\"--with-mysql-lib=#{mysql.opt_lib}\",",
+ "\"--with-mysql-include=#{mysql.opt_include}/mysql\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "3.2.3",
+ "file": "mysql++.rb"
+} \ No newline at end of file
diff --git a/homebrew/mysqlxx/.make.sh-auto b/homebrew/mysqlxx/.make.sh-auto
new file mode 100644
index 000000000..1159cf2d1
--- /dev/null
+++ b/homebrew/mysqlxx/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+mysql = Formula["mysql-client"]
+pkg:configure --disable-dependency-tracking --with-field-limit=40 --with-mysql-lib=#{mysql.opt_lib} --with-mysql-include=#{mysql.opt_include}/mysql
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/mysqlxx/_metadata/description b/homebrew/mysqlxx/_metadata/description
new file mode 100644
index 000000000..5ce300b44
--- /dev/null
+++ b/homebrew/mysqlxx/_metadata/description
@@ -0,0 +1 @@
+C++ wrapper for MySQL
diff --git a/homebrew/mysqlxx/_metadata/homepage b/homebrew/mysqlxx/_metadata/homepage
new file mode 100644
index 000000000..3defb8158
--- /dev/null
+++ b/homebrew/mysqlxx/_metadata/homepage
@@ -0,0 +1 @@
+https://tangentsoft.com/mysqlpp/home
diff --git a/homebrew/mysqlxx/_metadata/name b/homebrew/mysqlxx/_metadata/name
new file mode 100644
index 000000000..2ebfd2883
--- /dev/null
+++ b/homebrew/mysqlxx/_metadata/name
@@ -0,0 +1 @@
+Mysqlxx
diff --git a/homebrew/mysqlxx/_metadata/version b/homebrew/mysqlxx/_metadata/version
new file mode 100644
index 000000000..b347b11ea
--- /dev/null
+++ b/homebrew/mysqlxx/_metadata/version
@@ -0,0 +1 @@
+3.2.3
diff --git a/homebrew/mysqlxx/download.sh b/homebrew/mysqlxx/download.sh
new file mode 100755
index 000000000..80d828672
--- /dev/null
+++ b/homebrew/mysqlxx/download.sh
@@ -0,0 +1 @@
+wget https://tangentsoft.com/mysqlpp/releases/mysql++-3.2.3.tar.gz \ No newline at end of file