blob: f4e3f6cfe74df475f60bbb3391c96f614e9ea9b1 (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=wt
pkgver=3.3.6
_pkgver=3.3.6
pkgrel=3
pkgdesc="A C++ library and application server for developing and deploying web applications"
url="http://www.webtoolkit.eu"
arch="all"
license="GPL"
depends=""
depends_dev="zlib-dev boost-dev sqlite-dev mesa-dev glu-dev graphicsmagick-dev
libressl-dev pango-dev sqlite-dev fcgi-dev postgresql-dev qt-dev libharu-dev"
makedepends="$depends_dev cmake boost"
install=""
pkgroups="wt"
pkgusers="wt"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/kdeforche/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
mkdir -p build && cd build
CXXFLAGS="-fpermissive" \
cmake \
-DCONNECTOR_HTTP=ON \
-DWT_CPP_11_MODE=-std=c++11 \
-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWEBUSER=$pkgusers \
-DWEBGROUP=$pkggroups \
-DRUNDIR="$pkgdir"/var/run/wt \
-DUSE_SYSTEM_SQLITE3=ON \
-DINSTALL_EXAMPLES=ON \
-DBUILD_EXAMPLES=OFF \
-DINSTALL_FINDWT_CMAKE_FILE=ON \
..
make || return 1
}
package() {
cd "$builddir"/build
make DESTDIR=$pkgdir install
rm -r $pkgdir/usr/cmake
rm -rf $pkgdir/var/run
}
md5sums="a5be5f7efa93c4eae7f1d8812ff78c70 wt-3.3.6.tar.gz"
sha256sums="8f82576076deb1d72cfb8ff42cf7ffb3553a45da32123b2a3cf36e66040678ab wt-3.3.6.tar.gz"
sha512sums="d6135713d300bcd3956a4fd673af73be0561eb5d6aa91c47255b966950ddb411217e6a826c1d11c0d941dbb6d006c9926231d7334b21de6256cca331066e18a6 wt-3.3.6.tar.gz"
|