~ubuntu-branches/ubuntu/lucid/cmake/lucid

« back to all changes in this revision

Viewing changes to Modules/CPackDeb.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2009-12-16 11:11:54 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091216111154-6accvv6yq86h2hkc
Tags: 2.8.0-5ubuntu1
* Merge from debian testing (LP: #497349). Remaining changes:
  - Keep the Replaces: on cmake-data to cover the Kubuntu version from
    Jaunty in case someone decides to do an (unsupported) Jaunty->Lucid
    upgrade.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# - The builtin (binary) CPack Deb generator (Unix only)
 
2
# CPackDeb may be used to create Deb package using CPack.
 
3
# CPackDeb is a CPack generator thus it uses the CPACK_XXX variables
 
4
# used by CPack : http://www.cmake.org/Wiki/CMake:CPackConfiguration
 
5
#
 
6
# However CPackRPM has specific features which are controlled by
 
7
# the specifics CPACK_RPM_XXX variables.You'll find a detailed usage on 
 
8
# the wiki: 
 
9
#  http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29
 
10
# However as a handy reminder here comes the list of specific variables:
 
11
#
 
12
#  CPACK_DEBIAN_PACKAGE_NAME
 
13
#     Mandatory : YES
 
14
#     Default   : CPACK_PACKAGE_NAME (lower case)
 
15
#     The debian package summary
 
16
# CPACK_DEBIAN_PACKAGE_VERSION
 
17
#     Mandatory : YES
 
18
#     Default   : CPACK_PACKAGE_VERSION
 
19
#     The debian package version
 
20
# CPACK_DEBIAN_PACKAGE_ARCHITECTURE)
 
21
#     Mandatory : YES
 
22
#     Default   : Output of dpkg --print-architecture or i386
 
23
#     The debian package architecture
 
24
# CPACK_DEBIAN_PACKAGE_DEPENDS
 
25
#     Mandatory : NO
 
26
#     Default   : -
 
27
#     May be used to set deb dependencies. 
 
28
# CPACK_DEBIAN_PACKAGE_MAINTAINER
 
29
#     Mandatory : YES
 
30
#     Default   : CPACK_PACKAGE_CONTACT
 
31
#     The debian package maintainer
 
32
# CPACK_DEBIAN_PACKAGE_DESCRIPTION
 
33
#     Mandatory : YES
 
34
#     Default   : CPACK_PACKAGE_DESCRIPTION_SUMMARY
 
35
#     The debian package description
 
36
# CPACK_DEBIAN_PACKAGE_SECTION
 
37
#     Mandatory : YES
 
38
#     Default   : 'devel'
 
39
#     The debian package section
 
40
# CPACK_DEBIAN_PACKAGE_PRIORITY
 
41
#     Mandatory : YES
 
42
#     Default   : 'optional'
 
43
#     The debian package priority
 
44
 
 
45
#=============================================================================
 
46
# Copyright 2007-2009 Kitware, Inc.
 
47
# Copyright 2007-2009 Mathieu Malaterre <mathieu.malaterre@gmail.com>
 
48
#
 
49
# Distributed under the OSI-approved BSD License (the "License");
 
50
# see accompanying file Copyright.txt for details.
 
51
#
 
52
# This software is distributed WITHOUT ANY WARRANTY; without even the
 
53
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
54
# See the License for more information.
 
55
#=============================================================================
 
56
# (To distributed this file outside of CMake, substitute the full
 
57
#  License text for the above reference.)
1
58
 
2
59
# CPack script for creating Debian package
3
60
# Author: Mathieu Malaterre