You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
990 B
48 lines
990 B
9 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
12 years ago
|
|
||
9 years ago
|
EAPI=6
|
||
13 years ago
|
|
||
9 years ago
|
inherit toolchain-funcs cmake-utils
|
||
13 years ago
|
|
||
|
DESCRIPTION="Tools for configuration and query of SMB Traffic Analyzer"
|
||
9 years ago
|
HOMEPAGE="https://github.com/hhetter/smbtatools"
|
||
13 years ago
|
SRC_URI="http://morelias.org/smbta/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="debug"
|
||
|
|
||
9 years ago
|
RDEPEND="
|
||
13 years ago
|
dev-db/libdbi
|
||
12 years ago
|
>=dev-db/sqlite-3.7.0:3
|
||
|
net-fs/samba
|
||
|
net-misc/curl
|
||
9 years ago
|
sys-libs/ncurses:0=
|
||
12 years ago
|
sys-libs/talloc
|
||
|
x11-libs/cairo
|
||
|
x11-libs/pango
|
||
12 years ago
|
dev-qt/qtgui:4
|
||
12 years ago
|
"
|
||
9 years ago
|
DEPEND="${RDEPEND}
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
|
RDEPEND+="
|
||
12 years ago
|
net-fs/smbtad
|
||
|
"
|
||
13 years ago
|
|
||
|
DOCS="doc/smbta-guide.html doc/gfx/*.png"
|
||
9 years ago
|
PATCHES=( "${FILESDIR}"/${P}-fix-cmake.patch )
|
||
13 years ago
|
|
||
|
src_configure() {
|
||
9 years ago
|
local PKG_CONFIG=$(tc-getPKG_CONFIG)
|
||
12 years ago
|
local mycmakeargs=(
|
||
9 years ago
|
-Ddebug=$(usex debug)
|
||
|
-DLIBSMBCLIENT_LIBRARIES="$(${PKG_CONFIG} --libs smbclient)"
|
||
|
-DLIBSMBCLIENT_INCLUDE_DIRS="$(${PKG_CONFIG} --variable includedir smbclient)"
|
||
12 years ago
|
)
|
||
13 years ago
|
|
||
|
cmake-utils_src_configure
|
||
|
}
|