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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 6 08:26:39 UTC 2014


    Date: Thursday, November 6, 2014 @ 09:26:38
  Author: foutrelis
Revision: 122040

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 122039, wt/trunk/PKGBUILD)
  wt/repos/community-staging-x86_64/
  wt/repos/community-staging-x86_64/PKGBUILD
    (from rev 122039, wt/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   53 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   53 ++++++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

Copied: wt/repos/community-staging-i686/PKGBUILD (from rev 122039, wt/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-11-06 08:26:38 UTC (rev 122040)
@@ -0,0 +1,53 @@
+# $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.3
+_pkgver=3.3.3
+pkgrel=5
+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>=2.8' 'postgresql-libs' 'fcgi' 'sqlite' 'mysql++' 'qt4')
+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=(http://downloads.sourceforge.net/witty/$pkgname-${_pkgver}.tar.gz
+        boost-wt.patch::http://pastie.org/pastes/9478732/download?key=q3jk2mfp0ovfipigt8qsaw)
+md5sums=('90211e80d0e14ef7ff2e3152380bd05d'
+         '2d5d39f230c99355be7c20a5cc9aa409')
+
+build() {
+  cd ${srcdir}/${pkgname}-${_pkgver}
+
+  patch -Np1 < $srcdir/boost-wt.patch
+
+  [[ -d build ]] && rm -r build
+  mkdir -p build && cd build
+  cmake \
+      -DCONNECTOR_HTTP=ON \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DWEBUSER=http \
+      -DWEBGROUP=http \
+      -DUSE_SYSTEM_SQLITE3=ON \
+      -DINSTALL_EXAMPLES=ON \
+      ..
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${_pkgver}/build
+  make DESTDIR=${pkgdir} install
+
+  install -Dm644 ${pkgdir}/usr/cmake/FindWt.cmake ${pkgdir}/usr/share/cmake-3.0/Modules/FindWt.cmake
+  rm -r ${pkgdir}/usr/cmake
+  rm -rf $pkgdir/var/run
+}

Copied: wt/repos/community-staging-x86_64/PKGBUILD (from rev 122039, wt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-11-06 08:26:38 UTC (rev 122040)
@@ -0,0 +1,53 @@
+# $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.3
+_pkgver=3.3.3
+pkgrel=5
+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>=2.8' 'postgresql-libs' 'fcgi' 'sqlite' 'mysql++' 'qt4')
+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=(http://downloads.sourceforge.net/witty/$pkgname-${_pkgver}.tar.gz
+        boost-wt.patch::http://pastie.org/pastes/9478732/download?key=q3jk2mfp0ovfipigt8qsaw)
+md5sums=('90211e80d0e14ef7ff2e3152380bd05d'
+         '2d5d39f230c99355be7c20a5cc9aa409')
+
+build() {
+  cd ${srcdir}/${pkgname}-${_pkgver}
+
+  patch -Np1 < $srcdir/boost-wt.patch
+
+  [[ -d build ]] && rm -r build
+  mkdir -p build && cd build
+  cmake \
+      -DCONNECTOR_HTTP=ON \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DWEBUSER=http \
+      -DWEBGROUP=http \
+      -DUSE_SYSTEM_SQLITE3=ON \
+      -DINSTALL_EXAMPLES=ON \
+      ..
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${_pkgver}/build
+  make DESTDIR=${pkgdir} install
+
+  install -Dm644 ${pkgdir}/usr/cmake/FindWt.cmake ${pkgdir}/usr/share/cmake-3.0/Modules/FindWt.cmake
+  rm -r ${pkgdir}/usr/cmake
+  rm -rf $pkgdir/var/run
+}


More information about the arch-commits mailing list