diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-fs/smbtad/smbtad-1.2.6.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-fs/smbtad/smbtad-1.2.6.ebuild')
-rw-r--r-- | net-fs/smbtad/smbtad-1.2.6.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net-fs/smbtad/smbtad-1.2.6.ebuild b/net-fs/smbtad/smbtad-1.2.6.ebuild new file mode 100644 index 000000000000..75980db51f3a --- /dev/null +++ b/net-fs/smbtad/smbtad-1.2.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Data receiver of the SMB Traffic Analyzer project" +HOMEPAGE="https://github.com/hhetter/smbtad" +SRC_URI="http://morelias.org/smbta/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-db/libdbi + dev-libs/iniparser:0 + sys-libs/talloc +" +RDEPEND="${DEPEND} + || ( + <net-fs/samba-3.6[smbtav2] + >=net-fs/samba-3.6 + ) +" + +DOCS=( README AUTHORS ) + +src_prepare() { + cmake-utils_src_prepare + + sed -i \ + -e '/CMAKE_C_FLAGS/d' \ + CMakeLists.txt || die +} + +src_install() { + cmake-utils_src_install + + newinitd "${FILESDIR}"/smbtad.rc smbtad + newconfd dist/smbtad.conf_example smbtad.conf +} |