mysql-tritonn-5.0.cfg 1.62 KB
Newer Older
Łukasz Nowak's avatar
Łukasz Nowak committed
1 2
# This is software part of buildout for mysql with senna
# Originally made by Leonardo Rochael Almeida <leorochael@gmail.com> (thanks!)
3 4
# Original place: https://svn.erp5.org/repos/public/experimental/mysqlsenna.buildout/

5
[buildout]
6 7 8 9 10 11
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
12 13 14
configure-options =
  --without-mecab
  --enable-nfkc=no
15

16
[mysql-5.0-tritonn-patch]
17
recipe = hexagonit.recipe.download
18 19
url = http://dl.sourceforge.jp/tritonn/44472/${:filename}
filename = tritonn-1.0.12-mysql-5.0.87.diff
20 21
download-only = true

22 23 24
[mysql-tritonn-5.0]
recipe = hexagonit.recipe.cmmi
url = http://downloads.mysql.com/archives/mysql-5.0/mysql-5.0.87.tar.gz
25 26
pre-configure-hook = ${buildout:directory}/hooks/mysql-tritonn-hooks.py:pre_configure_hook
post-make-hook = ${buildout:directory}/hooks/mysql-tritonn-hooks.py:post_make_hook
Łukasz Nowak's avatar
Łukasz Nowak committed
27 28
# configure: how to avoid searching for my.cnf?
#  - like in mysql part in http://svn.zope.org/zodbshootout/trunk/buildout.cfg?view=markup
29 30 31 32 33 34 35 36
configure-options =
  --with-senna
  --without-mecab
  --enable-thread-safe-client
  --with-charset=utf8
  --with-collation=utf8_unicode_ci
  --with-server-suffix=mysql-tritonn-5.0

37
patch-options = -p1
38
patches = ${mysql-5.0-tritonn-patch:location}/${mysql-5.0-tritonn-patch:filename}
39 40
environment =
    PATH =${senna:location}/bin:%(PATH)s
Nicolas Dumazet's avatar
Nicolas Dumazet committed
41 42
    CFLAGS =-I${senna:location}/include
    CXXFLAGS =-I${senna:location}/include
Łukasz Nowak's avatar
Łukasz Nowak committed
43
    LDFLAGS =-L${senna:location}/lib
Łukasz Nowak's avatar
Łukasz Nowak committed
44 45

[requirements]
Lucas Carvalho's avatar
Lucas Carvalho committed
46
binary = automake flex bison patch gcc g++ libtool
Łukasz Nowak's avatar
Łukasz Nowak committed
47
development = /usr/include/termcap.h /usr/include/curses.h