RtpAudioStream: Add a cast.
[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 set(CPACK_PACKAGE_NAME wireshark)
23 set(CPACK_PACKAGE_DESCRIPTION "A set of command line and gui tools to capture and decode traffic")
24 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Packet capturing and decoding")
25 set(CPACK_PACKAGE_VENDOR "Wireshark developers")
26 set(CPACK_PACKAGE_NAME "wireshark")
27 set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
28 set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_MAJOR_VERSION}")
29 set(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_MINOR_VERSION}")
30 set(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_PATCH_VERSION}${PROJECT_VERSION_EXTENSION}")
31 set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
32 set(CPACK_PACKAGE_CONTACT "wireshark-users@wireshark.org")
33 # set(CPACK_PACKAGE_EXECUTABLES "wireshark")
34 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
35 set(CPACK_STRIP_FILES true)
36
37 set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
38 set(CPACK_PACKAGE_INSTALL_DIRECTORY "/usr")
39 # Win:        NSIS, ZIP, SOURCE_ZIP, CYGWIN_BINARY, SOURCE_CYGWIN,
40 # Linux/Unix: DEB, RPM, STGZ, TBZ2, TZ, SOURCE_TZ, SOURCE_TGZ
41 # OSX:        PACKAGEMAKER, OSXX11
42 # Syntax: "Type1;Type2;Type3"
43 set(CPACK_GENERATOR "TBZ2")
44 set(CPACK_SOURCE_GENERATOR "TBZ2")
45
46 #===============================================
47 IF(APPLE)
48         SET(CPACK_GENERATOR "${CPACK_GENERATOR};DragNDrop")
49         SET(CPACK_BUNDLE_ICON "${CMAKE_SOURCE_DIR}/packaging/macosx/Resources/Wireshark.icns")
50         SET(CPACK_BUNDLE_NAME "Wireshark")
51         SET(CPACK_BUNDLE_PLIST "${CMAKE_BINARY_DIR}/packaging/macosx/Info.plist")
52 #        SET(CPACK_BUNDLE_STARTUP_COMMAND "${OBDGPSLogger_SOURCE_DIR}/osx/StartupCommand")
53 ENDIF(APPLE)
54 # ELSE(APPLE)
55 #
56 #         # If we can find rpmbuild, then go for it
57 #         FIND_PROGRAM(RPMBUILD_TEST rpmbuild INTERNAL)
58 #         IF(RPMBUILD_TEST)
59 #                 SET(CPACK_GENERATOR "${CPACK_GENERATOR};RPM")
60 #                 SET(CPACK_RPM_PACKAGE_REQUIRES "gpsd >= 2.0")
61 #                 SET(CPACK_RPM_PACKAGE_LICENSE "GPLv2+")
62 #         ENDIF(RPMBUILD_TEST)
63 #
64 #         # If we can find dpkg, build a .deb
65 #         #FIND_PROGRAM(DPKG_TEST dpkg INTERNAL)
66 #         #IF(DPKG_TEST)
67 #                 SET(CPACK_GENERATOR "${CPACK_GENERATOR};DEB")
68 #                 SET(CPACK_DEBIAN_PACKAGE_DEPENDS "gpsd (>=2.0)")
69 #                 SET(CPACK_DEBIAN_PACKAGE_DESCRIPTION ${CPACK_PACKAGE_DESCRIPTION})
70 #         #ENDIF(DPKG_TEST)
71 #
72 # ENDIF(APPLE)
73 #
74 #
75 #
76 #===============================================
77
78 include(CPack)
79