File make-use-of-GNUInstallDirs.patch of Package flatbuffers

--- flatbuffers-1.2.0/CMakeLists.txt	2015-10-28 20:07:28.000000000 +0100
+++ flatbuffers-1.2.0.new/CMakeLists.txt	2015-11-20 21:50:06.489349559 +0100
@@ -2,6 +2,8 @@
 
 project(FlatBuffers)
 
+include(GNUInstallDirs)
+
 # NOTE: Code coverage only works on Linux & OSX.
 option(FLATBUFFERS_CODE_COVERAGE "Enable the code coverage build option." OFF)
 option(FLATBUFFERS_BUILD_TESTS "Enable the build of tests and samples." ON)
@@ -218,15 +220,15 @@
 endif()
 
 if(FLATBUFFERS_INSTALL)
-  install(DIRECTORY include/flatbuffers DESTINATION include)
+  install(DIRECTORY include/flatbuffers DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
   if(FLATBUFFERS_BUILD_FLATLIB)
-    install(TARGETS flatbuffers DESTINATION lib)
+    install(TARGETS flatbuffers DESTINATION ${CMAKE_INSTALL_LIBDIR})
   endif()
   if(FLATBUFFERS_BUILD_FLATC)
-    install(TARGETS flatc DESTINATION bin)
+    install(TARGETS flatc DESTINATION ${CMAKE_INSTALL_BINDIR})
   endif()
   if(FLATBUFFERS_BUILD_SHAREDLIB)
-    install(TARGETS flatbuffers_shared DESTINATION lib)
+    install(TARGETS flatbuffers_shared DESTINATION ${CMAKE_INSTALL_LIBDIR})
   endif()
 endif()