[arch-commits] Commit in wt/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Sep 18 03:44:16 UTC 2018


    Date: Tuesday, September 18, 2018 @ 03:44:16
  Author: foutrelis
Revision: 382881

archrelease: copy trunk to community-staging-x86_64

Added:
  wt/repos/community-staging-x86_64/
  wt/repos/community-staging-x86_64/PKGBUILD
    (from rev 382880, wt/trunk/PKGBUILD)

----------+
 PKGBUILD |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

Copied: wt/repos/community-staging-x86_64/PKGBUILD (from rev 382880, wt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-09-18 03:44:16 UTC (rev 382881)
@@ -0,0 +1,49 @@
+# 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=4.0.4
+pkgrel=2
+pkgdesc="a C++ library and application server for developing and deploying web applications"
+arch=('x86_64')
+url="http://www.webtoolkit.eu/"
+license=('GPL')
+depends=('boost-libs' 'libharu' 'graphicsmagick' 'pango' 'zlib' 'libgl')
+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'
+        'libmariadbclient: for MySQL 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=("$pkgname-$pkgver.tar.gz::https://github.com/kdeforche/wt/archive/${pkgver}.tar.gz")
+sha512sums=('7f9fee9b1c145adb610bf9b0860867a2f09699a1c914418938955c5648b3207db361ec48b3afe9e6faa6cc0b5874bedd44481fdd8adb8fc558cfc3dc17369ee7')
+
+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 \
+      -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 \
+      ..
+  make
+}
+
+package() {
+  cd "$srcdir"/${pkgname}-${pkgver}/build
+
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list