summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheo J.A. de Vries2017-05-28 14:43:24 +0200
committerTheo J.A. de Vries2017-05-28 14:43:24 +0200
commit572e062601fb17861c01552d370d3a8e48a401c5 (patch)
treee19a5895503ad885700ca4b2230ebe019e5fb7dc
parenta5d238970379dc2cdbb55cbca405c0d51242eec1 (diff)
downloadaur-572e062601fb17861c01552d370d3a8e48a401c5.tar.gz
added build dependencies for asio, boost and boost-libs and included the
sed line
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cb5940dee66..6c5558718b2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,14 +10,14 @@ _boost=boost${_ext}
pkgname=${_pkgname}${_ext}
pkgver=0.12.0
-pkgrel=1
+pkgrel=2
pkgdesc="A library that provides application layer protocol support using modern C++ techniques"
arch=('i686' 'x86_64')
url="http://cpp-netlib.github.com/"
license=('custom')
depends=()
optdepends=('openssl: for https')
-makedepends=("cmake>=2.8.10")
+makedepends=('cmake>=2.8.10' 'boost' 'boost-libs' 'asio')
#options=(staticlibs)
source=(
http://downloads.cpp-netlib.org/$pkgver/$_pkgname-$pkgver-final.tar.gz
@@ -37,7 +37,7 @@ build() {
install -d $srcdir/build
cd $srcdir/build
# use asio from system
-# sed -i -e "s|include_directories(deps/asio/asio/include)||g" $srcdir/$_pkgname-$pkgver-final/CMakeLists.txt
+ sed -i -e "s|include_directories(deps/asio/asio/include)||g" $srcdir/$_pkgname-$pkgver-final/CMakeLists.txt
cmake -DBOOST_ROOT=$_basedir -DCPP-NETLIB_BUILD_TESTS=OFF -DCPP-NETLIB_BUILD_EXAMPLES=OFF -DCPP-NETLIB_BUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH=${pkgdir}${_basedir} ../"$_pkgname-$pkgver-final"
# cmake -DBOOST_ROOT=$_basedir -DCPP-NETLIB_BUILD_TESTS=ON -DCPP-NETLIB_BUILD_EXAMPLES=ON -DCPP-NETLIB_BUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH=${pkgdir}${_basedir} ../"$_pkgname-$pkgver-final"
make