summaryrefslogtreecommitdiff
path: root/data/mariadb/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'data/mariadb/.beer')
-rw-r--r--data/mariadb/.beer46
1 files changed, 46 insertions, 0 deletions
diff --git a/data/mariadb/.beer b/data/mariadb/.beer
new file mode 100644
index 000000000..4524866cf
--- /dev/null
+++ b/data/mariadb/.beer
@@ -0,0 +1,46 @@
+{
+ "name": "Mariadb",
+ "description": "Drop-in replacement for MySQL",
+ "url": "https://downloads.mariadb.org/f/mariadb-10.3.14/source/mariadb-10.3.14.tar.gz",
+ "mirror": null,
+ "homepage": "https://mariadb.org/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "mysql",
+ "reason": null
+ },
+ {
+ "conflict": "mysql-connector-c",
+ "reason": null
+ },
+ {
+ "conflict": "mytop",
+ "reason": "both install `mytop` binaries"
+ },
+ {
+ "conflict": "mariadb-connector-c",
+ "reason": null
+ }
+ ],
+ "patches": [],
+ "install": [
+ "(var/\"mysql\").mkpath",
+ "unless File.exist? \"#{var}/mysql/mysql/user.frm\"",
+ "ENV[\"TMPDIR\"] = nil",
+ "system \"#{bin}/mysql_install_db\", \"--verbose\", \"--user=#{ENV[\"USER\"]}\",",
+ "\"--basedir=#{prefix}\", \"--datadir=#{var}/mysql\", \"--tmpdir=/tmp\""
+ ],
+ "version": "10.3.14",
+ "file": "mariadb.rb"
+} \ No newline at end of file