summaryrefslogtreecommitdiff
path: root/homebrew/mysqlat55
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/mysqlat55
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/mysqlat55')
-rw-r--r--homebrew/mysqlat55/.beer29
-rw-r--r--homebrew/mysqlat55/.make.sh-auto5
-rw-r--r--homebrew/mysqlat55/_metadata/description1
-rw-r--r--homebrew/mysqlat55/_metadata/homepage1
-rw-r--r--homebrew/mysqlat55/_metadata/name1
-rw-r--r--homebrew/mysqlat55/_metadata/version1
-rwxr-xr-xhomebrew/mysqlat55/download.sh1
7 files changed, 39 insertions, 0 deletions
diff --git a/homebrew/mysqlat55/.beer b/homebrew/mysqlat55/.beer
new file mode 100644
index 000000000..80054cc68
--- /dev/null
+++ b/homebrew/mysqlat55/.beer
@@ -0,0 +1,29 @@
+{
+ "name": "MysqlAT55",
+ "description": "Open source relational database management system",
+ "url": "https://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.62.tar.gz",
+ "mirror": null,
+ "homepage": "https://dev.mysql.com/doc/refman/5.5/en/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "datadir.mkpath",
+ "unless (datadir/\"mysql/general_log.CSM\").exist?",
+ "ENV[\"TMPDIR\"] = nil",
+ "system bin/\"mysql_install_db\", \"--verbose\", \"--user=#{ENV[\"USER\"]}\",",
+ "\"--basedir=#{prefix}\", \"--datadir=#{datadir}\", \"--tmpdir=/tmp\""
+ ],
+ "version": "5.5.62",
+ "file": "mysql@5.5.rb"
+} \ No newline at end of file
diff --git a/homebrew/mysqlat55/.make.sh-auto b/homebrew/mysqlat55/.make.sh-auto
new file mode 100644
index 000000000..cc7f04b7b
--- /dev/null
+++ b/homebrew/mysqlat55/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+datadir.mkpath
+unless (datadir/"mysql/general_log.CSM").exist?
+ENV["TMPDIR"] = nil
+bin/"mysql_install_db" --verbose --user=#{ENV[USER"]}" --basedir=${PKG_TAPF} --datadir=#{datadir} --tmpdir=/tmp
diff --git a/homebrew/mysqlat55/_metadata/description b/homebrew/mysqlat55/_metadata/description
new file mode 100644
index 000000000..f6cce0a02
--- /dev/null
+++ b/homebrew/mysqlat55/_metadata/description
@@ -0,0 +1 @@
+Open source relational database management system
diff --git a/homebrew/mysqlat55/_metadata/homepage b/homebrew/mysqlat55/_metadata/homepage
new file mode 100644
index 000000000..3665783a8
--- /dev/null
+++ b/homebrew/mysqlat55/_metadata/homepage
@@ -0,0 +1 @@
+https://dev.mysql.com/doc/refman/5.5/en/
diff --git a/homebrew/mysqlat55/_metadata/name b/homebrew/mysqlat55/_metadata/name
new file mode 100644
index 000000000..fe0dbf272
--- /dev/null
+++ b/homebrew/mysqlat55/_metadata/name
@@ -0,0 +1 @@
+MysqlAT55
diff --git a/homebrew/mysqlat55/_metadata/version b/homebrew/mysqlat55/_metadata/version
new file mode 100644
index 000000000..c2ccbb2fa
--- /dev/null
+++ b/homebrew/mysqlat55/_metadata/version
@@ -0,0 +1 @@
+5.5.62
diff --git a/homebrew/mysqlat55/download.sh b/homebrew/mysqlat55/download.sh
new file mode 100755
index 000000000..60a54172a
--- /dev/null
+++ b/homebrew/mysqlat55/download.sh
@@ -0,0 +1 @@
+wget https://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.62.tar.gz \ No newline at end of file