Commit 3fe8f7d6 authored by Xiaowu Zhang's avatar Xiaowu Zhang

percona-toolkit: shared build

parent b66905de
...@@ -14,6 +14,7 @@ extends = ...@@ -14,6 +14,7 @@ extends =
[groonga] [groonga]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://packages.groonga.org/source/groonga/groonga-8.0.0.tar.gz url = http://packages.groonga.org/source/groonga/groonga-8.0.0.tar.gz
md5sum = f4641e68a5301e641399f2d112a494dd md5sum = f4641e68a5301e641399f2d112a494dd
# temporary patch to respect more tokens in natural language mode. # temporary patch to respect more tokens in natural language mode.
...@@ -44,6 +45,7 @@ environment = ...@@ -44,6 +45,7 @@ environment =
[groonga-normalizer-mysql] [groonga-normalizer-mysql]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.1.tar.gz url = http://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.1.tar.gz
md5sum = 5a93c0238da114e5f91db659ffd499b0 md5sum = 5a93c0238da114e5f91db659ffd499b0
location = ${groonga:location} location = ${groonga:location}
......
...@@ -5,6 +5,7 @@ parts = ...@@ -5,6 +5,7 @@ parts =
[jemalloc] [jemalloc]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = https://github.com/jemalloc/jemalloc/releases/download/${:version}/jemalloc-${:version}.tar.bz2 url = https://github.com/jemalloc/jemalloc/releases/download/${:version}/jemalloc-${:version}.tar.bz2
version = 3.6.0 version = 3.6.0
md5sum = e76665b63a8fddf4c9f26d2fa67afdf2 md5sum = e76665b63a8fddf4c9f26d2fa67afdf2
...@@ -13,4 +14,4 @@ configure-options = ...@@ -13,4 +14,4 @@ configure-options =
--enable-readline --enable-readline
environment = environment =
CPPFLAGS=-I${readline:location}/include -I${ncurses:location}/include CPPFLAGS=-I${readline:location}/include -I${ncurses:location}/include
LDFLAGS=-L${buildout:parts-directory}/${:_buildout_section_name_} -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib LDFLAGS=-L@@LOCATION@@ -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib
...@@ -5,8 +5,9 @@ parts = ...@@ -5,8 +5,9 @@ parts =
[libaio] [libaio]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
# originally located at http://www.kernel.org/pub/linux/libs/aio/ # originally located at http://www.kernel.org/pub/linux/libs/aio/
shared = true
url = http://ftp.free.fr/mirrors/ftp.debian.org/pool/main/liba/libaio/libaio_0.3.109.orig.tar.gz url = http://ftp.free.fr/mirrors/ftp.debian.org/pool/main/liba/libaio/libaio_0.3.109.orig.tar.gz
md5sum = 435a5b16ca6198eaf01155263d855756 md5sum = 435a5b16ca6198eaf01155263d855756
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = @@LOCATION@@
configure-command = echo configure-command = echo
make-options = prefix=${:location} make-options = prefix=${:location}
...@@ -7,12 +7,13 @@ extends = ...@@ -7,12 +7,13 @@ extends =
[libstemmer] [libstemmer]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://snowball.tartarus.org/dist/libstemmer_c.tgz url = http://snowball.tartarus.org/dist/libstemmer_c.tgz
md5sum = 6f32f8f81cd6fa0150333ab540af5e27 md5sum = 6f32f8f81cd6fa0150333ab540af5e27
patch-options = -p0 patch-options = -p0
patches = patches =
${:_profile_base_location_}/libstemmer.Makefile.patch#f337bfe457ecf00d3297043a153d402a ${:_profile_base_location_}/libstemmer.Makefile.patch#f337bfe457ecf00d3297043a153d402a
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = @@LOCATION@@
configure-command = true configure-command = true
make-options = DESTDIR=${:location} make-options = DESTDIR=${:location}
environment = environment =
......
...@@ -27,6 +27,7 @@ parts = ...@@ -27,6 +27,7 @@ parts =
[mariadb] [mariadb]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = https://downloads.mariadb.org/f/mariadb-${:version}/source/mariadb-${:version}.tar.gz/from/http%3A//fr.mirror.babylon.network/mariadb/?serve url = https://downloads.mariadb.org/f/mariadb-${:version}/source/mariadb-${:version}.tar.gz/from/http%3A//fr.mirror.babylon.network/mariadb/?serve
version = 10.1.33 version = 10.1.33
md5sum = 164e4cbcfe4c6be235a133de91f866af md5sum = 164e4cbcfe4c6be235a133de91f866af
...@@ -35,7 +36,7 @@ patches = ...@@ -35,7 +36,7 @@ patches =
${:_profile_base_location_}/mariadb_10.1.21_create_system_tables__no_test.patch#3c76aa9564a162f13aced7c0a3f783b3 ${:_profile_base_location_}/mariadb_10.1.21_create_system_tables__no_test.patch#3c76aa9564a162f13aced7c0a3f783b3
${:stable-patches} ${:stable-patches}
stable-patches = stable-patches =
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = @@LOCATION@@
configure-command = ${cmake:location}/bin/cmake configure-command = ${cmake:location}/bin/cmake
configure-options = configure-options =
-DCMAKE_INSTALL_PREFIX=${:location} -DCMAKE_INSTALL_PREFIX=${:location}
...@@ -84,6 +85,7 @@ post-install = ...@@ -84,6 +85,7 @@ post-install =
# mroonga - a storage engine for MySQL. It provides fast fulltext search feature to all MySQL users. # mroonga - a storage engine for MySQL. It provides fast fulltext search feature to all MySQL users.
# http://mroonga.github.com/ # http://mroonga.github.com/
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://packages.groonga.org/source/mroonga/mroonga-8.00.tar.gz url = http://packages.groonga.org/source/mroonga/mroonga-8.00.tar.gz
md5sum = 8b906705be5fc14785207ca6752b96e9 md5sum = 8b906705be5fc14785207ca6752b96e9
pre-configure = set -e pre-configure = set -e
......
...@@ -19,6 +19,7 @@ parts = ...@@ -19,6 +19,7 @@ parts =
[senna] [senna]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://www.nexedi.org/static/tarballs/senna/senna-r1311.tar.gz url = http://www.nexedi.org/static/tarballs/senna/senna-r1311.tar.gz
md5sum = 1cc51554789f81a9e5208da04a5c2f4c md5sum = 1cc51554789f81a9e5208da04a5c2f4c
configure-command = configure-command =
...@@ -27,7 +28,7 @@ configure-command = ...@@ -27,7 +28,7 @@ configure-command =
ACLOCAL_ARGS=-I${libtool:location}/share/aclocal ./autogen.sh ACLOCAL_ARGS=-I${libtool:location}/share/aclocal ./autogen.sh
./configure ./configure
configure-options = configure-options =
--prefix=${buildout:parts-directory}/${:_buildout_section_name_} --prefix=@@LOCATION@@
--without-mecab --without-mecab
--disable-glibtest --disable-glibtest
make-options = make-options =
...@@ -53,6 +54,7 @@ download-only = true ...@@ -53,6 +54,7 @@ download-only = true
[mysql-tritonn-5.0] [mysql-tritonn-5.0]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://www.nexedi.org/static/tarballs/mysql/mysql-5.0.87.tar.gz url = http://www.nexedi.org/static/tarballs/mysql/mysql-5.0.87.tar.gz
md5sum = 65e6229cc98b6a8d4c5206d7fe16c7be md5sum = 65e6229cc98b6a8d4c5206d7fe16c7be
# configure: how to avoid searching for my.cnf? # configure: how to avoid searching for my.cnf?
...@@ -66,7 +68,7 @@ configure-command = ...@@ -66,7 +68,7 @@ configure-command =
touch sql/sql_yacc.yy touch sql/sql_yacc.yy
./configure ./configure
configure-options = configure-options =
--prefix=${buildout:parts-directory}/${:_buildout_section_name_} --prefix=@@LOCATION@@
--with-senna --with-senna
--with-openssl=${openssl:location} --with-openssl=${openssl:location}
--without-mecab --without-mecab
......
...@@ -8,6 +8,7 @@ parts = ...@@ -8,6 +8,7 @@ parts =
[percona-toolkit] [percona-toolkit]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
version = 3.0.3 version = 3.0.3
url = https://www.percona.com/downloads/percona-toolkit/${:version}/source/tarball/percona-toolkit-${:version}.tar.gz url = https://www.percona.com/downloads/percona-toolkit/${:version}/source/tarball/percona-toolkit-${:version}.tar.gz
md5sum = 8af181994fdf9aa984475637861098e9 md5sum = 8af181994fdf9aa984475637861098e9
......
...@@ -10,6 +10,7 @@ parts = ...@@ -10,6 +10,7 @@ parts =
[perl-DBD-MySQL-common] [perl-DBD-MySQL-common]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
depends = depends =
${perl-DBI:location} ${perl-DBI:location}
${perl-Devel-CheckLib:location} ${perl-Devel-CheckLib:location}
......
...@@ -6,10 +6,11 @@ parts = ...@@ -6,10 +6,11 @@ parts =
[perl-DBI] [perl-DBI]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://www.cpan.org/modules/by-module/DBI/DBI-1.631.tar.gz url = http://www.cpan.org/modules/by-module/DBI/DBI-1.631.tar.gz
md5sum = 444d3c305e86597e11092b517794a840 md5sum = 444d3c305e86597e11092b517794a840
configure-command = configure-command =
${perl:location}/bin/perl Makefile.PL ${perl:location}/bin/perl Makefile.PL
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = @@LOCATION@@
make-options = make-options =
INSTALLSITESCRIPT=${:location}/bin INSTALLSITESCRIPT=${:location}/bin
...@@ -4,6 +4,7 @@ extends = ...@@ -4,6 +4,7 @@ extends =
[perl-Devel-CheckLib] [perl-Devel-CheckLib]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://www.cpan.org/modules/by-module/Devel/Devel-CheckLib-1.11.tar.gz url = http://www.cpan.org/modules/by-module/Devel/Devel-CheckLib-1.11.tar.gz
md5sum = c20873798591176283f51af4ad8088cd md5sum = c20873798591176283f51af4ad8088cd
configure-command = configure-command =
......
...@@ -4,6 +4,7 @@ parts= ...@@ -4,6 +4,7 @@ parts=
[unixodbc] [unixodbc]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true
url = http://www.unixodbc.org/unixODBC-2.3.5.tar.gz url = http://www.unixodbc.org/unixODBC-2.3.5.tar.gz
md5sum = abf14cf943f1f8c5e63a24cb26d54fd9 md5sum = abf14cf943f1f8c5e63a24cb26d54fd9
post-install = ln -s ${buildout:parts-directory}/${:_buildout_section_name_}/lib/libodbcinst.so ${buildout:parts-directory}/${:_buildout_section_name_}/lib/libodbcinst.so.1 post-install = ln -s ${buildout:parts-directory}/${:_buildout_section_name_}/lib/libodbcinst.so ${buildout:parts-directory}/${:_buildout_section_name_}/lib/libodbcinst.so.1
...@@ -4,7 +4,8 @@ parts = ...@@ -4,7 +4,8 @@ parts =
[zstd] [zstd]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
location = ${buildout:parts-directory}/${:_buildout_section_name_} shared = true
location = @@LOCATION@@
url = https://github.com/facebook/zstd/archive/v1.3.4.tar.gz url = https://github.com/facebook/zstd/archive/v1.3.4.tar.gz
md5sum = 10bf0353e3dedd8bae34a188c25d4261 md5sum = 10bf0353e3dedd8bae34a188c25d4261
configure-command = : configure-command = :
......
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