[alglib] 01/02: Put headers into /usr/include/libalglib. (Closes: #782702)
Anton Gladky
gladk at moszumanska.debian.org
Thu Apr 16 17:33:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch experimental
in repository alglib.
commit 6cb9e0591b611b504321d8afe79d29ac0d3c58cf
Author: Vincent Nivoliers <vincent.nivoliers at univ-lyon1.fr>
Date: Thu Apr 16 19:26:12 2015 +0200
Put headers into /usr/include/libalglib. (Closes: #782702)
---
debian/libalglib-dev.install | 2 +-
debian/patches/01_add_cmake.patch | 8 +++++---
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/debian/libalglib-dev.install b/debian/libalglib-dev.install
index 7446af6..8e09fe7 100644
--- a/debian/libalglib-dev.install
+++ b/debian/libalglib-dev.install
@@ -1,2 +1,2 @@
-usr/include/*
+usr/include
usr/lib/*/libalglib.so
diff --git a/debian/patches/01_add_cmake.patch b/debian/patches/01_add_cmake.patch
index b4bfe93..f7a07ce 100644
--- a/debian/patches/01_add_cmake.patch
+++ b/debian/patches/01_add_cmake.patch
@@ -1,9 +1,11 @@
Description: add cmake-support to the library
Author: Anton Gladky <gladk at debian.org>
-Last-Update: 2013-05-22
+Last-Update: 2015-04-16
+Index: alglib/CMakeLists.txt
+===================================================================
--- /dev/null
-+++ b/CMakeLists.txt
++++ alglib/CMakeLists.txt
@@ -0,0 +1,30 @@
+project(alglib CXX)
+cmake_minimum_required(VERSION 2.8)
@@ -19,7 +21,7 @@ Last-Update: 2013-05-22
+ VERSION ${VERSION}
+ SOVERSION ${SOVERSION})
+
-+INSTALL(TARGETS alglib DESTINATION ${CMAKE_INSTALL_LIBDIR}/)
++INSTALL(TARGETS alglib DESTINATION ${CMAKE_INSTALL_LIBDIR}/libalglib)
+INSTALL(FILES ${ALGLIB_HDR_LIB} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+
+#===========================================================
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/alglib.git
More information about the debian-science-commits
mailing list