mysql-tritonn-5.0.cfg 2.39 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 26
[mysql-5.0-sphinx-patch]
recipe = hexagonit.recipe.download
url = http://www.nexedi.org/static/patches/${:filename}
27
md5sum = e7ff31f4853f4391344a6a9a520fc98d
28 29 30
filename = mysql-5.0.87-sphinx-1.10.diff
download-only = true

31 32
[mysql-tritonn-hooks-download]
recipe = hexagonit.recipe.download
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
33
url = http://www.nexedi.org/static/buildout-hooks/${:filename}
34 35 36 37
filename = mysql-tritonn-hooks.py
md5sum = 484abb02375e354ef7be0438dc369f85
download-only = true

38 39
[mysql-tritonn-5.0]
recipe = hexagonit.recipe.cmmi
40
url = http://www.nexedi.org/static/tarballs/mysql/mysql-5.0.87.tar.gz
Łukasz Nowak's avatar
Łukasz Nowak committed
41
md5sum = 65e6229cc98b6a8d4c5206d7fe16c7be
42 43
pre-configure-hook = ${mysql-tritonn-hooks-download:location}/${mysql-tritonn-hooks-download:filename}:pre_configure_hook
post-make-hook = ${mysql-tritonn-hooks-download:location}/${mysql-tritonn-hooks-download:filename}:post_make_hook
Łukasz Nowak's avatar
Łukasz Nowak committed
44 45
# configure: how to avoid searching for my.cnf?
#  - like in mysql part in http://svn.zope.org/zodbshootout/trunk/buildout.cfg?view=markup
46 47 48 49 50 51 52
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
53 54
  --enable-assembler
  --with-readline
55
  --with-sphinx-storage-engine
56

57
patch-options = -p1
58 59 60
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}
61
environment =
62
    PATH =${senna:location}/bin:%(PATH)s
63 64
    CFLAGS =-I${senna:location}/include/senna
    CXXFLAGS =-I${senna:location}/include/senna
Łukasz Nowak's avatar
Łukasz Nowak committed
65
    LDFLAGS =-L${senna:location}/lib
Łukasz Nowak's avatar
Łukasz Nowak committed
66 67

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