Commit e9a9f285 authored by Jérome Perrin's avatar Jérome Perrin

component/mariadb: simplify mroonga installation

- move or link instead of copying
- don't set too open permissions
parent a776b236
...@@ -100,8 +100,8 @@ pre-configure = ...@@ -100,8 +100,8 @@ pre-configure =
cd fake_mariadb_source cd fake_mariadb_source
ln -s ${mariadb:location}/wsrep-lib ln -s ${mariadb:location}/wsrep-lib
cp -a ${mariadb:location}/include/mysql/server include cp -a ${mariadb:location}/include/mysql/server include
cp -a include/private sql chmod -R u+w include # so that buildout can delete this compile-dir after install
chmod -R a+w include sql # so that buildout can delete this compile-dir after install mv include/private sql
mkdir -p ${:plugin-dir} mkdir -p ${:plugin-dir}
configure-options = configure-options =
--with-mysql-source=fake_mariadb_source --with-mysql-source=fake_mariadb_source
...@@ -109,7 +109,7 @@ configure-options = ...@@ -109,7 +109,7 @@ configure-options =
--disable-static --disable-static
--disable-document --disable-document
post-install = post-install =
cp -ra ${mariadb:location}/lib/plugin/* ${:plugin-dir} cp -rs ${mariadb:location}/lib/plugin/* ${:plugin-dir}
plugin-dir = @@LOCATION@@/lib/plugin plugin-dir = @@LOCATION@@/lib/plugin
install-sql = @@LOCATION@@/share/mroonga/install.sql install-sql = @@LOCATION@@/share/mroonga/install.sql
make-targets = plugindir=${:plugin-dir} install make-targets = plugindir=${:plugin-dir} install
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment