updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / wolframe-git / PKGBUILD
bloba8b0ccf844f08c59044250cdd9b244096358587c
1 # Contributor: Andreas Baumann <abaumann at yahoo dot com>
2 pkgname=wolframe-git
3 pkgver=20110917
4 pkgrel=1
5 pkgdesc="A flexible client-server ecosystem for business applications."
6 license=('GPL3')
7 arch=('i686' 'x86_64')
8 url="http://wolframe.net/"
9 depends=('boost>=1.43' 'boost-libs>=1.43' 'openssl' 'pam' 'libsasl' 
10          'sqlite3' 'postgresql-libs' 'libxml2' 'libxslt' 'qt')
11 makedepends=('git' 'docbook-xsl' 'doxygen' 'fop' 'graphviz')
12 md5sums=('8f74d2dcf94db2470ed096127941893d')
13 _gitroot=git://github.com/mbarbos/Wolframe.git
14 _gitname=Wolframe
16 package() {
17   make \
18     WITH_SSL=1 WITH_EXPECT=1 WITH_QT=1 WITH_PAM=1 WITH_SASL=1 \
19     WITH_SQLITE3=1 WITH_PGSQL=1 WITH_LUA=1 WITH_LIBXML2=1 WITH_LIBXSLT=1 \
20     install
23 build() {
24   cd $startdir/src
25   
26   msg "Getting source from git..."
27   if [ -d $startdir/src/$_gitname ] ; then
28     cd $_gitname && git pull origin
29   else
30     git clone $_gitroot
31   fi
33   cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
34   cd $startdir/src/$_gitname-build
36   msg "Building..."
37   make \
38     WITH_SSL=1 WITH_EXPECT=1 WITH_QT=1 WITH_PAM=1 WITH_SASL=1 \
39     WITH_SQLITE3=1 WITH_PGSQL=1 WITH_LUA=1 WITH_LIBXML2=1 WITH_LIBXSLT=1
41   cd docs
42   make doc
43   cd ..