From 2c96202ea70f98956090f37aef5200e3e4232e86 Mon Sep 17 00:00:00 2001
From: Arnaud Degroote <arnaud.degroote@laas.fr>
Date: Thu, 14 Mar 2013 11:54:04 +0100
Subject: [PATCH] [wip/hyper] Add a patch to avoid install *.orig file in
 include

---
 hyper/Makefile         |  2 +-
 hyper/distinfo         |  1 +
 hyper/patches/patch-ac | 14 ++++++++++++++
 3 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 hyper/patches/patch-ac

diff --git a/hyper/Makefile b/hyper/Makefile
index 1dafd179..9ad03ed1 100644
--- a/hyper/Makefile
+++ b/hyper/Makefile
@@ -4,7 +4,7 @@
 
 DISTNAME=		hyper-${VERSION}
 VERSION=		0.9
-PKGREVISION=	2
+PKGREVISION=	3
 CATEGORIES=		supervision
 MASTER_SITES=		${MASTER_SITE_OPENROBOTS:=hyper/}
 MASTER_REPOSITORY=	${MASTER_REPOSITORY_OPENROBOTS}hyper
diff --git a/hyper/distinfo b/hyper/distinfo
index 971cd3e1..a3c984d2 100644
--- a/hyper/distinfo
+++ b/hyper/distinfo
@@ -3,3 +3,4 @@ RMD160 (hyper-0.9.tar.gz) = da79fc936a80720d489630163e403ce0439bd4fe
 Size (hyper-0.9.tar.gz) = 176663 bytes
 SHA1 (patch-aa) = 1d7f8ead0ab7811bfe394dfdd7db0d599cfdb239
 SHA1 (patch-ab) = abe3ae29c6cf00f941ae5c99cd5e43e5a97da409
+SHA1 (patch-ac) = 672c6025db0bf6124dcaecfb2cfa044e84a90129
diff --git a/hyper/patches/patch-ac b/hyper/patches/patch-ac
new file mode 100644
index 00000000..19d896bc
--- /dev/null
+++ b/hyper/patches/patch-ac
@@ -0,0 +1,14 @@
+Only install header files from include
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8e16951..fac985d 100644
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -85,6 +85,7 @@ endforeach(lib)
+ # install rules for include
+ install(DIRECTORY include/
+ 		DESTINATION ${CMAKE_INSTALL_PREFIX}/include/hyper
++		FILES_MATCHING PATTERN "*.hh"
+ 		)
+ 
+ configure_file(
-- 
GitLab