From b92439b5a67fd2cf430f9111a93a3c92f125f6df Mon Sep 17 00:00:00 2001
From: Hannes Hauswedell
Date: Thu, 7 Apr 2016 17:15:07 +0200
Subject: [PATCH] [INTERNAL] fix cpack stuff
---
src/CMakeLists.txt | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bdfe51cd8..6055b7a96 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -181,26 +181,21 @@ endif (NOT SEQAN_PREFIX_SHARE_DOC)
install (TARGETS lambda lambda_indexer
DESTINATION bin)
-# Install non-binary files for the package to "." for app builds and
-# ${PREFIX}/share/doc/lambda for SeqAn release builds.
+# Install non-binary files for the package to share/lambda
install (FILES ../LICENSE-GPL3.rst
../README.rst
../COPYING.rst
DESTINATION ${SEQAN_PREFIX_SHARE_DOC})
-# install (FILES example/fasta1.fa
-# example/fasta2.fa
-# DESTINATION ${SEQAN_PREFIX_SHARE_DOC}/example)
# ----------------------------------------------------------------------------
# CPack Install
# ----------------------------------------------------------------------------
-if (SEQAN_BUILD_SYSTEM STREQUAL "APP:lambda")
- set (CPACK_PACKAGE_NAME "lambda")
- set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "lambda")
- set (CPACK_DEBIAN_PACKAGE_MAINTAINER "Your Name ")
- set (CPACK_PACKAGE_VENDOR "Your Name ")
-
- seqan_configure_cpack_app (lambda "lambda")
-endif (SEQAN_BUILD_SYSTEM STREQUAL "APP:lambda")
+set (CPACK_PACKAGE_NAME "lambda")
+set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "lambda -- the local aligner for massive bioligical data")
+set (CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/../README.rst")
+set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE-GPL3.rst")
+set (CPACK_PACKAGE_VENDOR "Hannes Hauswedell ")
+set (CPACK_PACKAGE_CONTACT "${CPACK_PACKAGE_VENDOR}")
+seqan_configure_cpack_app (lambda "lambda")