summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrank Neuhaus2019-04-26 13:29:01 +0200
committerFrank Neuhaus2019-04-26 13:29:01 +0200
commit6d7460584c3682bfdb9080629f00f98d86feae92 (patch)
tree885ea672eb61a2f48f6b791269b212b026c481bb /PKGBUILD
parent52da5b05e352577ff943a578282323cf239fd88b (diff)
downloadaur-6d7460584c3682bfdb9080629f00f98d86feae92.tar.gz
removed gcc-libs dependency, build as shared lib as suggested
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 21e1117416f..cde68dce799 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=ceres-solver
pkgver=1.14.0
-pkgrel=1
+pkgrel=2
pkgdesc="Solver for nonlinear least squares problems"
arch=('i686' 'x86_64')
url="http://ceres-solver.org/"
license=('LGPL')
-makedepends=('gcc-libs' 'cmake')
+makedepends=('cmake')
depends=('google-glog>=0.3.4' 'eigen>=3.3.0'
'suitesparse>=4.4.5')
optdepends=('openmp')
@@ -18,7 +18,8 @@ options=('staticlibs')
_cmakeopts=('-D CMAKE_BUILD_TYPE=Release'
'-D CMAKE_INSTALL_PREFIX=/usr'
'-D EIGENSPARSE=ON'
- '-D CXX11=ON')
+ '-D CXX11=ON'
+ '-D BUILD_SHARED_LIBS=ON')
build() {
cd $srcdir/$pkgname-$pkgver