version up : webp 0.3.0 and specify so version.
[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   ../cmake/buildout.cfg
7   ../zlib/buildout.cfg
8   ../groonga/buildout.cfg
9   ../libaio/buildout.cfg
10   ../libevent/buildout.cfg
11   ../ncurses/buildout.cfg
12   ../openssl/buildout.cfg
13   ../pkgconfig/buildout.cfg
14   ../readline/buildout.cfg
15
16 parts =
17   mariadb
18
19 [mariadb-5.5-no_test-patch]
20 recipe = hexagonit.recipe.download
21 url = ${:_profile_base_location_}/${:filename}
22 md5sum = 14e6d713c16298a10f40d29f2b799aca
23 filename = mariadb_5.5_create_system_tables__no_test.patch
24 download-only = true
25
26 [mariadb]
27 recipe = slapos.recipe.cmmi
28 version = 5.5.31
29 revision = 1
30 url = http://downloads.askmonty.org/f/mariadb-${:version}/kvm-tarbake-jaunty-x86/mariadb-${:version}.tar.gz/from/http://ftp.osuosl.org/pub/mariadb
31 md5sum = 3fe756bc76f0e7a3af2757e48ce0f3f4
32 # compile directory is required to build mysql plugins.
33 keep-compile-dir = true
34 patch-options = -p0
35 patches =
36   ${mariadb-5.5-no_test-patch:location}/${mariadb-5.5-no_test-patch:filename}
37 configure-command = ${cmake:location}/bin/cmake
38 configure-options =
39   -DCMAKE_INSTALL_PREFIX=${buildout:parts-directory}/${:_buildout_section_name_}
40   -DBUILD_CONFIG=mysql_release
41   -DDEFAULT_CHARSET=utf8
42   -DDEFAULT_COLLATION=utf8_unicode_ci
43   -DWITH_SSL=system
44   -DWITH_ZLIB=system
45   -DWITH_READLINE=0
46   -DWITH_PIC=1
47   -DENABLE_DTRACE=0
48   -DWITH_EXTRA_CHARSETS=complex
49   -DWITH_EMBEDDED_SERVER=0
50   -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1
51   -DWITHOUT_DAEMON_EXAMPLE=1
52   -DCMAKE_C_FLAGS="-I${libaio:location}/include -I${ncurses:location}/include -I${openssl:location}/include -I${readline5:location}/include -I${zlib:location}/include"
53   -DCMAKE_CXX_FLAGS="-I${libaio:location}/include -I${ncurses:location}/include -I${openssl:location}/include -I${readline5:location}/include -I${zlib:location}/include"
54   -DCMAKE_INSTALL_RPATH=${libaio:location}/lib:${ncurses:location}/lib:${openssl:location}/lib:${readline5:location}/lib:${zlib:location}/lib
55 environment =
56   CMAKE_PROGRAM_PATH=${cmake:location}/bin
57   CMAKE_INCLUDE_PATH=${libaio:location}/include:${ncurses:location}/include:${openssl:location}/include:${readline5:location}/include:${zlib:location}/include
58   CMAKE_LIBRARY_PATH=${libaio:location}/lib:${ncurses:location}/lib:${openssl:location}/lib:${readline5:location}/lib:${zlib:location}/lib
59   LDFLAGS=-L${libaio:location}/lib
60
61 [mroonga-mariadb]
62 # mroonga - a storage engine for MySQL. It provides fast fulltext search feature to all MySQL users.
63 # http://mroonga.github.com/
64 recipe = slapos.recipe.cmmi
65 url = http://packages.groonga.org/source/mroonga/mroonga-3.04.tar.gz
66 md5sum = 790d239c5bf5b98a760a78fdfcbe6803
67 configure-options =
68   --with-mysql-source=${mariadb:location}__compile__/mariadb-${mariadb:version}
69   --with-mysql-config=${mariadb:location}/bin/mysql_config
70 depends =
71   ${mariadb:version}
72   ${mariadb:revision}
73   ${groonga-normalizer-mysql:version}
74 environment =
75   PATH=${groonga:location}/bin:${pkgconfig:location}/bin:%(PATH)s
76   CPPFLAGS=-I${groonga:location}/include/groonga
77   LDFLAGS=-L${groonga:location}/lib
78   PKG_CONFIG_PATH=${groonga:location}/lib/pkgconfig:${groonga-normalizer-mysql:location}/lib/pkgconfig