summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2016-10-06 00:45:51 +0100
committerRobin H. Johnson <robbat2@gentoo.org>2017-01-22 12:58:48 -0800
commit2749083e16c416005352bc0634ca2690a0b44f34 (patch)
treece81c0d3be89db2428668377b65ca36017f02b3f /dev-libs/device-atlas-api-c/files
parentdev-libs/botan: version bump (diff)
downloadgentoo-2749083e16c416005352bc0634ca2690a0b44f34.tar.gz
gentoo-2749083e16c416005352bc0634ca2690a0b44f34.tar.bz2
gentoo-2749083e16c416005352bc0634ca2690a0b44f34.zip
dev-libs/device-atlas-api-c: API to detect devices based on the User-Agent HTTP header
Package-Manager: portage-2.3.0 (cherry picked from commit b9475e94910837345e1ff1e426c0d573a23131aa) Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'dev-libs/device-atlas-api-c/files')
-rw-r--r--dev-libs/device-atlas-api-c/files/2.1-cmake-install.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/device-atlas-api-c/files/2.1-cmake-install.patch b/dev-libs/device-atlas-api-c/files/2.1-cmake-install.patch
new file mode 100644
index 000000000000..9f518629e5a1
--- /dev/null
+++ b/dev-libs/device-atlas-api-c/files/2.1-cmake-install.patch
@@ -0,0 +1,20 @@
+--- ./CMakeLists.txt 2016-11-08 22:54:33.351677837 +0000
++++ ./CMakeLists.txt 2016-11-08 23:04:26.737184360 +0000
+@@ -16,6 +16,7 @@
+ set(MODEL 64)
+ endif()
+
++include(GNUInstallDirs)
+ message(STATUS "${CMAKE_BUILD_TYPE} version")
+
+ include_directories(${PCRE_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
+@@ -31,6 +32,9 @@
+
+ add_subdirectory(examples)
+
++install(TARGETS da DESTINATION ${CMAKE_INSTALL_LIBDIR})
++install(FILES dac.h dac_json.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
++
+ if (EXISTS "${PROJECT_SOURCE_DIR}/tests")
+ subdirs(tests)
+ endif()