blob: d0024d3f53d5ef8e8da8c5aa131f367df3bddc51 (
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
|
# $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=3
pkgdesc="a C++ library and application server for developing and deploying web applications"
arch=('i686' 'x86_64')
url="http://www.webtoolkit.eu/"
license=('GPL')
depends=('boost-libs>=1.36')
makedepends=('boost>=1.36' 'cmake>=2.8'
'postgresql-libs' 'zlib' 'fcgi' 'sqlite3' 'libharu' 'graphicsmagick' 'pango' 'mysql++' 'qt')
optdepends=('openssl: for SSL support in built-in webserver'
'zlib: for compression in HTTP protocol'
'fcgi: for FastCGI support'
'postgresql-libs: for PostgreSQL Dbo support'
'sqlite3: for Sqlite3 Dbo support'
'libharu: for PDF generation (WPdfImage)'
'graphicsmagick: for raster image support (WRasterImage)'
'pango: for advanced font rendering (WRasterImage)'
'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
wt-boost-1.47.patch)
md5sums=('535945f48f479e74b893adf5b1a857b7'
'9374ca2e0af1e951d585872ffface805')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
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
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install
}
|