blob: 32e959653e49422d0a29921fd51f4dabe6636abd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
pkgname=mnogosearch
pkgver=3.4.1
pkgrel=1
pkgdesc='web search engine software'
arch=('i686' 'x86_64')
url='http://www.mnogosearch.org/'
license=('GPL')
groups=()
depends=(
postgresql-libs
libmysqlclient
sqlite
unixodbc
)
makedepends=(
docbook-dsssl
# libiodbc
)
source=("$pkgname-$pkgver.tar.gz::http://www.mnogosearch.org/Download/mnogosearch-$pkgver.tar.gz")
sha256sums=('7938fdcbc68b9cb8d66319b73906c99d4fc167eb7f783499d46845f4f33519db')
build(){
cd "$srcdir"/$pkgname-$pkgver
CONFIGURE=(
--prefix=/usr
--localstatedir=/var
--sysconfdir=/etc/mnogosearch
--datarootdir=/usr/share/mnogosearch
--mandir=/usr/share/man
--with-docs
--with-openssl
--with-mysql
--enable-mysql-fulltext-plugin
--with-pgsql
# --with-gnu-ld
--with-zlib
--with-readline
# --with-chasen => chasen.h
# --with-mecab => mecab.h
--with-sqlite3
# --with-sqlite
# --with-iodbc=/usr/include/libiodbc
--with-unixODBC
# --with-oracle8i
)
./configure ${CONFIGURE[*]}
make
}
package(){
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir/" install
}
|