[packages/sysdig] use system pkgs
glen
glen at pld-linux.org
Sun Jul 26 14:34:09 CEST 2015
commit c91ce2eac23be73dc71a423ff7d9af3e2344d35a
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Jul 26 15:33:54 2015 +0300
use system pkgs
https://github.com/draios/sysdig/wiki/How-to-Install-Sysdig-from-the-Source-Code
sysdig.spec | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/sysdig.spec b/sysdig.spec
index cd666ad..712f3d7 100644
--- a/sysdig.spec
+++ b/sysdig.spec
@@ -7,7 +7,12 @@ Group: Applications/System
Source0: https://github.com/draios/sysdig/archive/%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 5fe96a3a0fd98b2157a40cb29af41afc
URL: http://www.sysdig.org/
-BuildRequires: cmake >= 2.8
+BuildRequires: cmake >= 2.8.2
+BuildRequires: gcc >= 6:4.4
+BuildRequires: jsoncpp-devel
+BuildRequires: luajit-devel
+BuildRequires: ncurses-devel
+BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -22,10 +27,14 @@ generate trace files that can be analyzed at a later stage.
%setup -q
%build
-mkdir build
+install -d build
cd build
%cmake \
-DBUILD_DRIVER=OFF \
+ -DUSE_BUNDLED_JSONCPP=OFF \
+ -DUSE_BUNDLED_LUAJIT=OFF \
+ -DUSE_BUNDLED_NCURSES=OFF \
+ -DUSE_BUNDLED_ZLIB=OFF \
..
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sysdig.git/commitdiff/c91ce2eac23be73dc71a423ff7d9af3e2344d35a
More information about the pld-cvs-commit
mailing list