Merge branch 'master' into lamp
[slapos.git] / component / mariadb / buildout.cfg
1 # MariaDB - a database server that offers drop-in replacement functionality for MySQL.
2 # http://mariadb.org/
3
4 [buildout]
5 extends =
6   ../zlib/buildout.cfg
7   ../groonga/buildout.cfg
8   ../libevent/buildout.cfg
9   ../ncurses/buildout.cfg
10   ../pkgconfig/buildout.cfg
11   ../readline/buildout.cfg
12
13 parts =
14   mariadb
15
16 [mariadb-no_test-patch]
17 recipe = hexagonit.recipe.download
18 url = ${:_profile_base_location_}/${:filename}
19 md5sum = d65f61829cfbcd5062f49db2b00bd6fe
20 filename = mysql_create_system_tables__no_test.patch
21 download-only = true
22
23 [mariadb]
24 recipe = hexagonit.recipe.cmmi
25 version = 5.3.3-rc
26 url = http://downloads.askmonty.org/f/mariadb-${:version}/kvm-tarbake-jaunty-x86/mariadb-${:version}.tar.gz/from/http:/ftp.osuosl.org/pub/mariadb
27 md5sum = 715c61bb101acc7d37e893f6a9de9267
28 # compile directory is required to build mysql plugins.
29 keep-compile-dir = true
30 # configure: how to avoid searching for my.cnf?
31 #  - like in mysql part in http://svn.zope.org/zodbshootout/trunk/buildout.cfg?view=markup
32 # we use embeded yassl instead of openssl to avoid compilation errors on sphinx search engine.
33 configure-options =
34   --prefix=${buildout:parts-directory}/${:_buildout_section_name_}
35   --disable-static
36   --enable-thread-safe-client
37   --enable-local-infile
38   --enable-assembler
39   --with-pic
40   --with-fast-mutexes
41   --with-charset=utf8
42   --with-extra-charsets=complex
43   --with-collation=utf8_unicode_ci
44   --with-big-tables
45   --with-embedded-server
46   --with-plugins=max-no-ndb
47   --with-aria-tmp-tables
48   --without-plugin-innodb_plugin
49   --without-plugin-oqgraph
50   --without-readline
51   --with-ssl
52   --with-libevent=${libevent:location}
53   --with-zlib-dir=${zlib:location}
54
55 patch-options = -p0
56 patches =
57   ${mariadb-no_test-patch:location}/${mariadb-no_test-patch:filename}
58 environment =
59   CPPFLAGS=-I${ncurses:location}/include -I${readline5:location}/include
60   LDFLAGS=-Wl,-rpath=${libevent:location}/lib -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${readline5:location}/lib -Wl,-rpath=${readline5:location}/lib -Wl,-rpath=${zlib:location}/lib
61
62 [mroonga-mariadb]
63 recipe = hexagonit.recipe.cmmi
64 url = https://github.com/downloads/mroonga/mroonga/mroonga-1.10.tar.gz
65 md5sum = 6a712b2b20eddc65d918dabd8fba590f
66 configure-options =
67   --with-mysql-source=${mariadb:location}__compile__/mariadb-${mariadb:version}
68   --with-mysql-config=${mariadb:location}/bin/mysql_config
69 environment =
70   PATH=${groonga:location}/bin:${pkgconfig:location}/bin:%(PATH)s
71   CPPFLAGS=-I${groonga:location}/include/groonga
72   LDFLAGS=-L${groonga:location}/lib
73   PKG_CONFIG_PATH=${groonga:location}/lib/pkgconfig