File ebook-tools-64bit-installation.diff of Package ebook-tools

diff -Nru ebook-tools-0.1.1-orig/CMakeLists.txt ebook-tools-0.1.1/CMakeLists.txt
--- ebook-tools-0.1.1-orig/CMakeLists.txt	2008-06-07 21:09:38.000000000 +0200
+++ ebook-tools-0.1.1/CMakeLists.txt	2008-12-15 17:06:00.031250000 +0100
@@ -5,6 +5,7 @@
 set(EXECUTABLE_OUTPUT_PATH ${EBOOK-TOOLS_BINARY_DIR}/bin)
 
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
+set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
 
 find_package(LibXml2 REQUIRED)
 find_package(LibZip REQUIRED)
diff -Nru ebook-tools-0.1.1-orig/src/libepub/CMakeLists.txt ebook-tools-0.1.1/src/libepub/CMakeLists.txt
--- ebook-tools-0.1.1-orig/src/libepub/CMakeLists.txt	2008-06-07 21:20:14.000000000 +0200
+++ ebook-tools-0.1.1/src/libepub/CMakeLists.txt	2008-12-15 16:56:14.500000000 +0100
@@ -4,5 +4,5 @@
 
 set_target_properties (epub PROPERTIES VERSION 0.1.0 SOVERSION 0)
 
-install ( TARGETS epub RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib )
+install ( TARGETS epub RUNTIME DESTINATION bin LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} )
 install ( FILES epub.h epub_shared.h DESTINATION include )