From 36ada3bdb3d8ce2e11f2ee9ea92f47f9fd40fe04 Mon Sep 17 00:00:00 2001 From: Jasper Chan Date: Tue, 30 Apr 2019 17:02:49 -0700 Subject: [PATCH] New package: ceres-solver-1.14.0 --- common/shlibs | 1 + srcpkgs/ceres-solver-devel | 1 + srcpkgs/ceres-solver/template | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 120000 srcpkgs/ceres-solver-devel create mode 100644 srcpkgs/ceres-solver/template diff --git a/common/shlibs b/common/shlibs index a4b2e335c5..10b36503cc 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3465,3 +3465,4 @@ libircclient.so.1 libircclient-1.10_1 libFAudio.so.0 FAudio-19.05_1 libqaccessibilityclient-qt5.so.0 libqaccessibilityclient-0.4.0_1 libnitrokey.so.3 libnitrokey-3.4.1_1 +libceres.so.1 ceres-solver-1.14.0_1 diff --git a/srcpkgs/ceres-solver-devel b/srcpkgs/ceres-solver-devel new file mode 120000 index 0000000000..686e664409 --- /dev/null +++ b/srcpkgs/ceres-solver-devel @@ -0,0 +1 @@ +ceres-solver \ No newline at end of file diff --git a/srcpkgs/ceres-solver/template b/srcpkgs/ceres-solver/template new file mode 100644 index 0000000000..6608627d92 --- /dev/null +++ b/srcpkgs/ceres-solver/template @@ -0,0 +1,27 @@ +# Template file for 'ceres-solver' +pkgname=ceres-solver +version=1.14.0 +revision=1 +build_style=cmake +configure_args="-DLIB_SUFFIX='' -DBUILD_SHARED_LIBS=ON" +makedepends="eigen glog-devel lapack-devel libgomp-devel" +short_desc="Large scale non-linear optimization library" +maintainer="Jasper Chan " +license="BSD-3-Clause" +homepage="http://ceres-solver.org/" +distfiles="https://github.com/ceres-solver/ceres-solver/archive/${version}.tar.gz" +checksum=1296330fcf1e09e6c2f926301916f64d4a4c5c0ff12d460a9bc5d4c48411518f + +post_install() { + vlicense LICENSE +} + +ceres-solver-devel_package() { + depends="${sourcepkg}>=${version}_${revision} ${makedepends}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove "usr/lib/*.so" + } +}