blob: cb751ce03b2bc120bdbd2ca9a918b5f6f94491a1 (
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
36
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
inherit cmake-utils
DESCRIPTION="Data receiver of the SMB Traffic Analyzer project"
HOMEPAGE="http://github.com/hhetter/smbtad"
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/sqlite-3.5"
RDEPEND="net-fs/samba[smbtav2]"
DOCS="README AUTHORS"
src_configure() {
mycmakeargs="${mycmakeargs} \
$(cmake-utils_use debug DEBUG)"
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
newinitd "${FILESDIR}"/smbtad.rc smbtad
newconfd dist/smbtad.conf_example smbtad.conf
}
|