# This is software part of buildout for mysql with senna # Originally made by Leonardo Rochael Almeida (thanks!) # Original place: https://svn.erp5.org/repos/public/experimental/mysqlsenna.buildout/ [buildout] extends = autoconf.cfg automake.cfg zlib.cfg bison.cfg flex.cfg libtool.cfg ncurses.cfg openssl.cfg readline.cfg parts = mysql-tritonn-5.0 [senna] recipe = hexagonit.recipe.cmmi url = http://sourceforge.jp/frs/redir.php?m=jaist&f=%2Fsenna%2F33763%2Fsenna-1.1.4.tar.gz md5sum = 1d896f46ef1def47ebe0d72c7eb21a60 configure-options = --without-mecab --enable-nfkc=no [mysql-5.0-tritonn-patch] recipe = hexagonit.recipe.download url = http://dl.sourceforge.jp/tritonn/44472/${:filename} md5sum = 257abe9c4afdc9b08033687fd486a595 filename = tritonn-1.0.12-mysql-5.0.87.diff download-only = true [mysql-5.0-sphinx-patch] recipe = hexagonit.recipe.download url = http://www.nexedi.org/static/patches/${:filename} md5sum = e7ff31f4853f4391344a6a9a520fc98d filename = mysql-5.0.87-sphinx-1.10.diff download-only = true [mysql-tritonn-5.0] recipe = hexagonit.recipe.cmmi url = http://www.nexedi.org/static/tarballs/mysql/mysql-5.0.87.tar.gz md5sum = 65e6229cc98b6a8d4c5206d7fe16c7be # configure: how to avoid searching for my.cnf? # - like in mysql part in http://svn.zope.org/zodbshootout/trunk/buildout.cfg?view=markup configure-command = libtoolize -c -f aclocal -I ${libtool:location}/share/aclocal -I config/ac-macros autoheader automake -c -a -f autoconf touch sql/sql_yacc.yy ./configure configure-options = --prefix=${buildout:parts-directory}/${:_buildout_section_name_} --with-senna --with-openssl=${openssl:location} --without-mecab --enable-thread-safe-client --with-charset=utf8 --with-collation=utf8_unicode_ci --with-server-suffix=mysql-tritonn-5.0 --with-mysqlmanager --enable-assembler --without-readline --with-sphinx-storage-engine --with-named-curses-libs=${ncurses:location}/lib/libncurses.so --with-zlib-dir=${zlib:location} make-options = LIBTOOL=libtool LN_S='ln -s' patch-options = -p1 patches = ${mysql-5.0-tritonn-patch:location}/${mysql-5.0-tritonn-patch:filename} ${mysql-5.0-sphinx-patch:location}/${mysql-5.0-sphinx-patch:filename} environment = PATH=${senna:location}/bin:${autoconf:location}/bin:${automake-1.11:location}/bin:${libtool:location}/bin:${bison:location}/bin:${flex:location}/bin:%(PATH)s CPPFLAGS=-I${senna:location}/include/senna -I${ncurses:location}/include -I${readline:location}/include LDFLAGS=-L${senna:location}/lib -L${readline:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib -Wl,-rpath -Wl,${readline:location}/lib