summaryrefslogtreecommitdiff
blob: 28edc158ea9ac7c87f6f0f394ded726bba98d25a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/smbtatools/smbtatools-1.2.5.ebuild,v 1.1 2011/06/30 16:07:16 dagger Exp $

EAPI="4"
inherit cmake-utils

DESCRIPTION="Tools for configuration and query of SMB Traffic Analyzer"
HOMEPAGE="http://github.com/hhetter/smbtatools"
SRC_URI="http://morelias.org/smbta/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

DEPEND="dev-util/cmake
	dev-db/libdbi
	sys-libs/ncurses"
RDEPEND="net-fs/smbtad"

DOCS="doc/smbta-guide.html doc/gfx/*.png"

PATCHES=(
	"${FILESDIR}/dont_use_unsigned_long_long.patch"
	"${FILESDIR}/fix_calculating.patch"
	"${FILESDIR}/reorder_divisions.patch"
)

src_configure() {
	mycmakeargs="${mycmakeargs} \
		$(cmake-utils_use debug DEBUG)"

	cmake-utils_src_configure
}