PPP: remove obsolete Van Jacobson decompression preference
[metze/wireshark/wip.git] / CPackConfig.txt
1 # CPackConfig.txt
2 #
3 # Wireshark - Network traffic analyzer
4 # By Gerald Combs <gerald@wireshark.org>
5 # Copyright 1998 Gerald Combs
6 #
7 # This program is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License
9 # as published by the Free Software Foundation; either version 2
10 # of the License, or (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21
22 # XXX The CMake documentation recommends setting CPACK_PROJECT_CONFIG_FILE
23 # instead.
24 if(WIN32)
25         # To do:
26         # - Add WinPCap
27         # - Add USBPcap
28         # - Add CLI DLLs
29         # - Add common (Glib, etc) DLLs
30         # - Add Qt DLLs
31         # - Add
32         set(CPACK_PACKAGE_NAME Wireshark)
33         set(CPACK_GENERATOR "WIX")
34 else()
35         # XXX Currently unused and untested.
36         set(CPACK_PACKAGE_NAME wireshark)
37         set(CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}-${CPACK_SYSTEM_NAME}-${CPACK_PACKAGE_VERSION})
38         # Win:        WIX, NSIS, ZIP, SOURCE_ZIP, CYGWIN_BINARY, SOURCE_CYGWIN,
39         # Linux/Unix: DEB, RPM, STGZ, TBZ2, TZ, SOURCE_TZ, SOURCE_TGZ
40         # OSX:        PACKAGEMAKER, OSXX11
41         # Syntax: "Type1;Type2;Type3"
42         set(CPACK_GENERATOR "TBZ2")
43         set(CPACK_SOURCE_GENERATOR "TBZ2")
44         set(CPACK_PACKAGE_INSTALL_DIRECTORY "/usr")
45 endif()
46
47 # WiX
48
49 # WiX wants RTF. CPack+WiX wants a file extension.
50 set(CPACK_WIX_LICENSE_RTF "${CMAKE_SOURCE_DIR}/packaging/wix/gpl-2.0.rtf")
51 set(CPACK_WIX_PRODUCT_ICON "${CMAKE_SOURCE_DIR}/image/wireshark.ico")
52 #set(CPACK_WIX_UI_BANNER "${CMAKE_SOURCE_DIR}/image/wix-ui-banner.png")
53 #set(CPACK_WIX_UI_DIALOG "${CMAKE_SOURCE_DIR}/image/wix-ui-dialog.png")
54
55 set(CPACK_WIX_UPGRADE_GUID "5809F81A-587D-470D-8016-DA480DAE379F")
56
57 set(CPACK_PACKAGE_DESCRIPTION "A set of command line and gui tools to capture and decode traffic")
58 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Packet capturing and decoding")
59 set(CPACK_PACKAGE_VENDOR "Wireshark developers")
60 set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
61 set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_MAJOR_VERSION}")
62 set(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_MINOR_VERSION}")
63 set(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_PATCH_VERSION}${PROJECT_VERSION_EXTENSION}")
64 set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
65 set(CPACK_PACKAGE_CONTACT "wireshark-users@wireshark.org")
66 # set(CPACK_PACKAGE_EXECUTABLES "wireshark")
67 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
68 set(CPACK_STRIP_FILES true)
69
70 set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
71
72 #===============================================
73 IF(APPLE)
74         SET(CPACK_GENERATOR "${CPACK_GENERATOR};DragNDrop")
75         SET(CPACK_BUNDLE_ICON "${CMAKE_SOURCE_DIR}/packaging/macosx/Resources/Wireshark.icns")
76         SET(CPACK_BUNDLE_NAME "Wireshark")
77         SET(CPACK_BUNDLE_PLIST "${CMAKE_BINARY_DIR}/packaging/macosx/Info.plist")
78 #        SET(CPACK_BUNDLE_STARTUP_COMMAND "${OBDGPSLogger_SOURCE_DIR}/osx/StartupCommand")
79 ENDIF(APPLE)
80 # ELSE(APPLE)
81 #
82 #         # If we can find rpmbuild, then go for it
83 #         FIND_PROGRAM(RPMBUILD_TEST rpmbuild INTERNAL)
84 #         IF(RPMBUILD_TEST)
85 #                 SET(CPACK_GENERATOR "${CPACK_GENERATOR};RPM")
86 #                 SET(CPACK_RPM_PACKAGE_REQUIRES "gpsd >= 2.0")
87 #                 SET(CPACK_RPM_PACKAGE_LICENSE "GPLv2+")
88 #         ENDIF(RPMBUILD_TEST)
89 #
90 #         # If we can find dpkg, build a .deb
91 #         #FIND_PROGRAM(DPKG_TEST dpkg INTERNAL)
92 #         #IF(DPKG_TEST)
93 #                 SET(CPACK_GENERATOR "${CPACK_GENERATOR};DEB")
94 #                 SET(CPACK_DEBIAN_PACKAGE_DEPENDS "gpsd (>=2.0)")
95 #                 SET(CPACK_DEBIAN_PACKAGE_DESCRIPTION ${CPACK_PACKAGE_DESCRIPTION})
96 #         #ENDIF(DPKG_TEST)
97 #
98 # ENDIF(APPLE)
99 #
100 #
101 #
102 #===============================================
103
104 include(CPack)