blob: 2560ed2d6f3ef8145a7d720d6df4931512f92c18 (
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
|
# See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
# for more information on packaging from GIT sources.
# Maintainer: Daniel YC Lin <dlin.tw at gmail>
pkgname=fix8-git
pkgver=1.3.3
pkgrel=1
pkgdesc="Open Source C++ FIX Engine"
arch=('x86' 'x86_64')
url="http://www.fix8.org"
license=(LGPL3)
depends=('poco' 'gperftools' 'intel-tbb')
makedepends=('doxygen' 'libtool')
provides=('fix8')
source=('fix8::git+https://github.com/fix8/fix8')
options=('!libtool')
#conflicts=()
#replaces=()
md5sums=('SKIP')
git_branch="master"
build() {
cd fix8
#git checkout $git_branch
#autoreconf -f -i -Wall,no-obsolete
./bootstrap
# ref: http://fix8.org/performance.html
./configure --prefix=/usr --with-mpmc=tbb --enable-bdb
# TBB may slower on 64 bit, http://calvados.di.unipi.it/dokuwiki/doku.php?id=ffnamespace:about
# but, FastFlow may burn your CPU http://fix8.org/faq.html#runningOne
#./configure --prefix=/usr --enable-bdb --with-sleep=100
make
}
package() {
cd fix8
make DESTDIR="$pkgdir/" install
rm -rf $pkgdir/usr/share/man
mv $pkgdir/usr/share/fix8/man $pkgdir/usr/share
}
pkgver() {
cd fix8
git describe $git_branch --always | sed 's|-|.|g'
}
check() {
cd fix8
make check
}
# vim:set ts=2 sw=2 et:
|