# MariaDB - a database server that offers drop-in replacement functionality for MySQL. # http://mariadb.org/ [buildout] extends = ../cmake/buildout.cfg ../zlib/buildout.cfg ../groonga/buildout.cfg ../libaio/buildout.cfg ../libevent/buildout.cfg ../ncurses/buildout.cfg ../openssl/buildout.cfg ../pkgconfig/buildout.cfg ../readline/buildout.cfg parts = mariadb [mariadb-5.5-no_test-patch] recipe = hexagonit.recipe.download url = ${:_profile_base_location_}/${:filename} md5sum = 14e6d713c16298a10f40d29f2b799aca filename = mariadb_5.5_create_system_tables__no_test.patch download-only = true [mariadb] recipe = hexagonit.recipe.cmmi version = 5.5.23 revision = 1 url = http://downloads.askmonty.org/f/mariadb-${:version}/kvm-tarbake-jaunty-x86/mariadb-${:version}.tar.gz/from/http://ftp.osuosl.org/pub/mariadb md5sum = 7074fa091b3c1489f45a5ddf12cd5e6f # compile directory is required to build mysql plugins. keep-compile-dir = true patch-options = -p0 patches = ${mariadb-5.5-no_test-patch:location}/${mariadb-5.5-no_test-patch:filename} configure-command = ${cmake:location}/bin/cmake configure-options = -DCMAKE_INSTALL_PREFIX=${buildout:parts-directory}/${:_buildout_section_name_} -DBUILD_CONFIG=mysql_release -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_unicode_ci -DWITH_SSL=system -DWITH_ZLIB=system -DWITH_READLINE=0 -DWITH_PIC=1 -DWITH_EXTRA_CHARSETS=complex -DWITH_EMBEDDED_SERVER=0 -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 -DWITHOUT_DAEMON_EXAMPLE=1 -DCMAKE_C_FLAGS="-I${libaio:location}/include -I${ncurses:location}/include -I${openssl:location}/include -I${readline5:location}/include -I${zlib:location}/include" -DCMAKE_CXX_FLAGS="-I${libaio:location}/include -I${ncurses:location}/include -I${openssl:location}/include -I${readline5:location}/include -I${zlib:location}/include" -DCMAKE_INSTALL_RPATH=${libaio:location}/lib:${ncurses:location}/lib:${openssl:location}/lib:${readline5:location}/lib:${zlib:location}/lib environment = CMAKE_PROGRAM_PATH=${cmake:location}/bin CMAKE_INCLUDE_PATH=${libaio:location}/include:${ncurses:location}/include:${openssl:location}/include:${readline5:location}/include:${zlib:location}/include CMAKE_LIBRARY_PATH=${libaio:location}/lib:${ncurses:location}/lib:${openssl:location}/lib:${readline5:location}/lib:${zlib:location}/lib LDFLAGS=-L${libaio:location}/lib [mroonga-mariadb] recipe = hexagonit.recipe.cmmi url = https://github.com/downloads/mroonga/mroonga/mroonga-2.02.tar.gz md5sum = 295754cd477838395ef3cb9936e12ede configure-options = --with-mysql-source=${mariadb:location}__compile__/mariadb-${mariadb:version} --with-mysql-config=${mariadb:location}/bin/mysql_config depends = ${mariadb:version} ${mariadb:revision} environment = PATH=${groonga:location}/bin:${pkgconfig:location}/bin:%(PATH)s CPPFLAGS=-I${groonga:location}/include/groonga LDFLAGS=-L${groonga:location}/lib PKG_CONFIG_PATH=${groonga:location}/lib/pkgconfig CXXFLAGS=-Wno-deprecated # CXXFLAGS workaround: avoid depracation warning in order to compile on gcc 4.7+