1 # Mantainer: Alex Reznichenko
2 # Mantainer: Gianni Vialetto <g dot vialetto at gmail dot com>
7 pkgdesc="A free native XML database"
9 url="http://modis.ispras.ru/sedna"
12 source=("http://www.modis.ispras.ru/FTPContent/sedna/current/sedna-${pkgver}-src-linux.tar.gz"
13 "sedna.rc" "sedna.conf" "sedna-indexes.patch")
14 install=('sedna.install')
15 md5sums=('fcc11f1777fd553e38caf102ae3c25ec'
16 'b01f9744893dc205f2e07be6f6c47006'
17 'd5e55093f27b654506a88aec2e2ccee5'
18 '09392530d684b451f0e75a58c6a4f986')
23 # GCC 4.5 does not like sedna...
24 patch sedna-${pkgver}/kernel/tr/idx/indexes.cpp sedna-indexes.patch
29 cmake ../sedna-${pkgver} -DCMAKE_INSTALL_PREFIX=${pkgdir}/opt/sedna || return 1
33 make install || return 1
34 mkdir -p ${pkgdir}/usr/bin
35 ln -sfv ${pkgdir}/opt/sedna/bin/se_* ${pkgdir}/usr/bin
36 install -D -m755 ${srcdir}/sedna.rc ${pkgdir}/etc/rc.d/sedna
37 install -D -m755 ${srcdir}/sedna.conf ${pkgdir}/etc/conf.d/sedna