summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
-rw-r--r--INSTALL65
-rw-r--r--src/CMakeLists.txt2
3 files changed, 66 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7035c14..109b7a6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,10 +21,6 @@ set(CPACK_DEBIAN_PACKAGE_NAME "libuca")
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Matthias Vogelgesang <matthias.vogelgesang@kit.edu>")
set(CPACK_DEBIAN_PACKAGE_DESCRIPTION ${UCA_DESCRIPTION})
set(CPACK_DEBIAN_PACKAGE_DESCRIPTION_SUMMARY ${UCA_DESCRIPTION})
-set(CPACK_PACKAGE_VERSION_MAJOR ${UCA_VERSION_MAJOR})
-set(CPACK_PACKAGE_VERSION_MINOR ${UCA_VERSION_MINOR})
-set(CPACK_PACKAGE_VERSION_PATCH ${UCA_VERSION_PATCH})
-set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}-${CMAKE_SYSTEM_PROCESSOR}")
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..151382a
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,65 @@
+Simple install procedure
+========================
+
+ $ tar xfz libuca-0.x.tar.gz
+ $ cd libuca-0.x
+ $ mkdir build
+ $ cd build/
+ $ cmake ..
+ $ make
+
+ [ Become root if necessary ]
+ $ make install
+
+
+Requirements
+============
+
+libuca requires CMake and pkg-config for building libraries and accompanying
+tools. Information about CMake can be found at:
+
+ http://www.cmake.org
+
+and pkg-config at:
+
+ http://www.freedesktop.org/software/pkgconfig
+
+libuca depends on the GObject library for object oriented programming.
+Information about this library can be found at:
+
+ http://developers.gnome.org/gobject/stable
+
+Each specific camera needs a camera SDK and/or a driver:
+
+ - UFO camera: pcilib
+ - pco.edge, pco.4000, pco.dimax cameras: SiliconSoftware menable IV driver
+ and SDK as well as the libpco wrapper.
+
+The control tools require Gtk+ GUI toolkit. Information is available at:
+
+ http://developer.gnome.org/platform-overview/
+
+
+Building the Library
+====================
+
+On Linux, libuca uses the CMake build system and pkg-config for dependency
+detection. The normal procedure to build this library is to create an empty
+build directory:
+
+ $ mkdir build/ && cd build
+
+configure the project using CMake:
+
+ $ cmake ../
+
+and compiling the library with make:
+
+ $ make
+ $ make install
+
+Options to the build process can be passed to the system when configuring:
+
+ $ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
+
+or via configuration tools like `ccmake`.
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e9d5ebc..f6a344b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -274,7 +274,7 @@ set(VERSION ${UCA_VERSION_STRING})
set(CPACK_GENERATOR "DEB;RPM;")
set(CPACK_SOURCE_GENERATOR "TGZ")
-set(CPACK_SOURCE_IGNORE_FILES "tags" ".bzr" ".swp")
+set(CPACK_SOURCE_IGNORE_FILES ".git" "tags" ".bzr" ".swp")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "libuca-${UCA_VERSION_STRING}" CACHE INTERNAL "tarball basename")
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${UCA_VERSION_STRING}-${CMAKE_SYSTEM_PROCESSOR}")