[arch-commits] Commit in wt/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Fri Oct 7 20:43:09 UTC 2016
Date: Friday, October 7, 2016 @ 20:43:09
Author: bpiotrowski
Revision: 191610
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
wt/repos/community-staging-i686/
wt/repos/community-staging-i686/PKGBUILD
(from rev 191609, wt/trunk/PKGBUILD)
wt/repos/community-staging-x86_64/
wt/repos/community-staging-x86_64/PKGBUILD
(from rev 191609, wt/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++
2 files changed, 104 insertions(+)
Copied: wt/repos/community-staging-i686/PKGBUILD (from rev 191609, wt/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-10-07 20:43:09 UTC (rev 191610)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Denis Martinez <deuns.martinez at gmail.com>
+
+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"
+arch=('i686' 'x86_64')
+url="http://www.webtoolkit.eu/"
+license=('GPL')
+depends=('boost-libs' 'libharu' 'graphicsmagick' 'pango' 'zlib')
+makedepends=('boost' 'cmake' 'postgresql-libs' 'fcgi' 'sqlite' 'mysql++' 'qt4' 'doxygen' 'mesa' 'glu')
+optdepends=('openssl: for SSL support in built-in webserver'
+ 'fcgi: for FastCGI support'
+ 'postgresql-libs: for PostgreSQL Dbo support'
+ 'sqlite: for Sqlite Dbo support'
+ 'mysql++: for the hangman example'
+ 'qt4: for the Wt/Qt interopability example (wtwithqt)')
+backup=('etc/wt/wt_config.xml')
+source=(https://github.com/kdeforche/wt/archive/${_pkgver}.tar.gz)
+md5sums=('a5be5f7efa93c4eae7f1d8812ff78c70')
+
+build() {
+ cd ${srcdir}/${pkgname}-${_pkgver}
+
+ [[ -d build ]] && rm -r build
+ mkdir -p build && cd build
+ cmake \
+ -DCONNECTOR_HTTP=ON \
+ -DWT_CPP_11_MODE=-std=c++11 \
+ -DCONFIGDIR=/etc \
+ -DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWEBUSER=http \
+ -DWEBGROUP=http \
+ -DUSE_SYSTEM_SQLITE3=ON \
+ -DINSTALL_EXAMPLES=ON \
+ -DBUILD_EXAMPLES=ON \
+ -DINSTALL_FINDWT_CMAKE_FILE=ON \
+ ..
+ # build examples again when they are compatible with boost 1.58
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${_pkgver}/build
+
+ make DESTDIR=${pkgdir} install
+}
Copied: wt/repos/community-staging-x86_64/PKGBUILD (from rev 191609, wt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-10-07 20:43:09 UTC (rev 191610)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Denis Martinez <deuns.martinez at gmail.com>
+
+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"
+arch=('i686' 'x86_64')
+url="http://www.webtoolkit.eu/"
+license=('GPL')
+depends=('boost-libs' 'libharu' 'graphicsmagick' 'pango' 'zlib')
+makedepends=('boost' 'cmake' 'postgresql-libs' 'fcgi' 'sqlite' 'mysql++' 'qt4' 'doxygen' 'mesa' 'glu')
+optdepends=('openssl: for SSL support in built-in webserver'
+ 'fcgi: for FastCGI support'
+ 'postgresql-libs: for PostgreSQL Dbo support'
+ 'sqlite: for Sqlite Dbo support'
+ 'mysql++: for the hangman example'
+ 'qt4: for the Wt/Qt interopability example (wtwithqt)')
+backup=('etc/wt/wt_config.xml')
+source=(https://github.com/kdeforche/wt/archive/${_pkgver}.tar.gz)
+md5sums=('a5be5f7efa93c4eae7f1d8812ff78c70')
+
+build() {
+ cd ${srcdir}/${pkgname}-${_pkgver}
+
+ [[ -d build ]] && rm -r build
+ mkdir -p build && cd build
+ cmake \
+ -DCONNECTOR_HTTP=ON \
+ -DWT_CPP_11_MODE=-std=c++11 \
+ -DCONFIGDIR=/etc \
+ -DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWEBUSER=http \
+ -DWEBGROUP=http \
+ -DUSE_SYSTEM_SQLITE3=ON \
+ -DINSTALL_EXAMPLES=ON \
+ -DBUILD_EXAMPLES=ON \
+ -DINSTALL_FINDWT_CMAKE_FILE=ON \
+ ..
+ # build examples again when they are compatible with boost 1.58
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${_pkgver}/build
+
+ make DESTDIR=${pkgdir} install
+}
More information about the arch-commits
mailing list