mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
community/wt to 3.3.8-2
This commit is contained in:
parent
aef45b7cd9
commit
9a4f64e43e
1 changed files with 5 additions and 7 deletions
|
@ -8,8 +8,7 @@
|
||||||
|
|
||||||
pkgname=wt
|
pkgname=wt
|
||||||
pkgver=3.3.8
|
pkgver=3.3.8
|
||||||
_pkgver=3.3.7
|
pkgrel=2
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="a C++ library and application server for developing and deploying web applications"
|
pkgdesc="a C++ library and application server for developing and deploying web applications"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.webtoolkit.eu/"
|
url="http://www.webtoolkit.eu/"
|
||||||
|
@ -23,11 +22,11 @@ optdepends=('openssl: for SSL support in built-in webserver'
|
||||||
'mysql++: for the hangman example'
|
'mysql++: for the hangman example'
|
||||||
'qt4: for the Wt/Qt interopability example (wtwithqt)')
|
'qt4: for the Wt/Qt interopability example (wtwithqt)')
|
||||||
backup=('etc/wt/wt_config.xml')
|
backup=('etc/wt/wt_config.xml')
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/kdeforche/wt/archive/${_pkgver}.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/kdeforche/wt/archive/${pkgver}.tar.gz")
|
||||||
sha512sums=('f179b42eedcfd2e61f26ef92c6aad40c55c76c9a688269c4d5bd55dd48381073d6269d9c2ab305f15ef455616d48183a3fc0ba08c740a8e18318a2ad2fb13826')
|
sha512sums=('227bfa888ad53c9a22205d79de0111a286fd1f6a6fa46a1a8fb3795fdae45fc1cc19b95600585310cd10fee57e6355067f073c7ece72e68aa5656b512ec311ad')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir"/${pkgname}-${_pkgver}
|
cd "$srcdir"/${pkgname}-${pkgver}
|
||||||
|
|
||||||
CFLAGS+=" -fsigned-char"
|
CFLAGS+=" -fsigned-char"
|
||||||
CXXFLAGS+=" -fsigned-char"
|
CXXFLAGS+=" -fsigned-char"
|
||||||
|
@ -37,7 +36,6 @@ build() {
|
||||||
cmake \
|
cmake \
|
||||||
-DCONNECTOR_HTTP=ON \
|
-DCONNECTOR_HTTP=ON \
|
||||||
-DWT_CPP_11_MODE=-std=c++11 \
|
-DWT_CPP_11_MODE=-std=c++11 \
|
||||||
-DCONFIGDIR=/etc \
|
|
||||||
-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick \
|
-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DWEBUSER=http \
|
-DWEBUSER=http \
|
||||||
|
@ -51,7 +49,7 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir"/${pkgname}-${_pkgver}/build
|
cd "$srcdir"/${pkgname}-${pkgver}/build
|
||||||
|
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue