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.
gentoo-overlay/net-fs/smbtad/smbtad-1.2.6.ebuild

52 lines
946 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/smbtad/smbtad-1.2.6.ebuild,v 1.1 2012/09/13 18:53:38 scarabeus Exp $
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-db/libdbi
dev-libs/iniparser
sys-libs/talloc
"
RDEPEND="${DEPEND}
|| (
<net-fs/samba-3.6[smbtav2]
>=net-fs/samba-3.6
)
"
DOCS="README AUTHORS"
src_prepare() {
sed -i \
-e '/CMAKE_C_FLAGS/d' \
CMakeLists.txt || die
}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use debug)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
newinitd "${FILESDIR}"/smbtad.rc smbtad
newconfd dist/smbtad.conf_example smbtad.conf
}