diff options
Diffstat (limited to 'net-fs/smbtad/smbtad-1.2.5.ebuild')
-rw-r--r-- | net-fs/smbtad/smbtad-1.2.5.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net-fs/smbtad/smbtad-1.2.5.ebuild b/net-fs/smbtad/smbtad-1.2.5.ebuild new file mode 100644 index 000000000000..a2ec854779f3 --- /dev/null +++ b/net-fs/smbtad/smbtad-1.2.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/smbtad/smbtad-1.2.5.ebuild,v 1.1 2011/06/30 16:07:08 dagger 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-util/cmake + dev-db/libdbi" +RDEPEND="( || ( <net-fs/samba-3.6[smbtav2] + >=net-fs/samba-3.6 ) )" + +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 + +} |