mysql-tritonn-5.0.cfg 1.79 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
Łukasz Nowak's avatar
Łukasz Nowak committed
12
md5sum = 1d896f46ef1def47ebe0d72c7eb21a60
13 14 15
configure-options =
  --without-mecab
  --enable-nfkc=no
16

17
[mysql-5.0-tritonn-patch]
18
recipe = hexagonit.recipe.download
19
url = http://dl.sourceforge.jp/tritonn/44472/${:filename}
Łukasz Nowak's avatar
Łukasz Nowak committed
20
md5sum = 257abe9c4afdc9b08033687fd486a595
21
filename = tritonn-1.0.12-mysql-5.0.87.diff
22 23
download-only = true

24 25
[mysql-tritonn-5.0]
recipe = hexagonit.recipe.cmmi
26
url = http://www.nexedi.org/static/tarballs/mysql/mysql-5.0.87.tar.gz
Łukasz Nowak's avatar
Łukasz Nowak committed
27
md5sum = 65e6229cc98b6a8d4c5206d7fe16c7be
28 29
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
30 31
# configure: how to avoid searching for my.cnf?
#  - like in mysql part in http://svn.zope.org/zodbshootout/trunk/buildout.cfg?view=markup
32 33 34 35 36 37 38
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
39 40
  --enable-assembler
  --with-readline
41

42
patch-options = -p1
43
patches = ${mysql-5.0-tritonn-patch:location}/${mysql-5.0-tritonn-patch:filename}
44
environment =
45
    PATH =${senna:location}/bin:%(PATH)s
46 47
    CFLAGS =-I${senna:location}/include/senna
    CXXFLAGS =-I${senna:location}/include/senna
Łukasz Nowak's avatar
Łukasz Nowak committed
48
    LDFLAGS =-L${senna:location}/lib
Łukasz Nowak's avatar
Łukasz Nowak committed
49 50

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