summaryrefslogtreecommitdiff
path: root/community/wt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/wt/PKGBUILD')
-rw-r--r--community/wt/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/wt/PKGBUILD b/community/wt/PKGBUILD
index a97a41844..d0024d3f5 100644
--- a/community/wt/PKGBUILD
+++ b/community/wt/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 51980 2011-07-18 20:26:38Z spupykin $
+# $Id: PKGBUILD 52510 2011-07-25 22:14:25Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Denis Martinez <deuns.martinez@gmail.com>
pkgname=wt
pkgver=3.1.10
-pkgrel=2
+pkgrel=3
pkgdesc="a C++ library and application server for developing and deploying web applications"
arch=('i686' 'x86_64')
url="http://www.webtoolkit.eu/"
@@ -23,15 +23,19 @@ optdepends=('openssl: for SSL support in built-in webserver'
'mysql++: for the hangman example'
'qt: for the Wt/Qt interopability example (wtwithqt)')
backup=('etc/wt/wt_config.xml')
-source=(http://downloads.sourceforge.net/witty/$pkgname-${pkgver}.tar.gz)
-md5sums=('535945f48f479e74b893adf5b1a857b7')
+source=(http://downloads.sourceforge.net/witty/$pkgname-${pkgver}.tar.gz
+ wt-boost-1.47.patch)
+md5sums=('535945f48f479e74b893adf5b1a857b7'
+ '9374ca2e0af1e951d585872ffface805')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- mkdir build
+ patch -Rp1 <$srcdir/wt-boost-1.47.patch
+ mkdir -p build
cd build
cmake -DCONNECTOR_HTTP=ON -DCMAKE_INSTALL_PREFIX=/usr \
-DWEBUSER=http -DWEBGROUP=http -DRUNDIR=/var/run/wt -DDEPLOYROOT=/var/www/wt \
+ -DUSE_SYSTEM_SQLITE3=ON -DCMAKE_EXE_LINKER_FLAGS="-lboost_random" \
-DDESTDIR=${pkgdir} -DWT_CMAKE_FINDER_INSTALL_DIR="share/cmake-2.8/Modules" ..
make
}