aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2018-03-20 23:15:33 +0000
committerAnders Broman <a.broman58@gmail.com>2018-03-26 14:00:35 +0000
commit1cd92c496102a7cd0d396ad94da767287a1c990c (patch)
tree8acc1fbbc77432e60b155edd1f9115420a18cc98 /INSTALL
parenta0fd52dcae8d365b68dfdf2d7f99ddf79d6e49bc (diff)
CMake: Add an rpm-package target.
Copy the current wireshark.spec.in and update it for use with CMake. Remove the Qt4, GTK+2, and GTK+3 options. Add Ninja and mmdbresolve options. The rpm-package target builds a tarball using git-export-release.sh and therefore must be run from a git checkout. The RPM _prefix macro is set to CMAKE_INSTALL_PREFIX, so you'll probably want to run cmake -DCMAKE_INSTALL_PREFIX=/usr ... Change-Id: Ib014494d8858a0059126404cd91528ded5d8a9f6 Reviewed-on: https://code.wireshark.org/review/26579 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL8
1 files changed, 7 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 412168f12c..5fbc9f8583 100644
--- a/INSTALL
+++ b/INSTALL
@@ -181,7 +181,13 @@ README.windows for those instructions.
make rpm-package
- to make an installable package for your system.
+ or
+
+ ninja rpm-package
+
+ to make an installable package for your system. The installation path
+ defaults to /usr/local, so you'll probably want to pass
+ -DCMAKE_INSTALL_PREFIX=/usr to CMake.
11/b. If you 're running a system that supports APT (Debian/Ubuntu/etc.)
run