diff options
author | Ian Stakenvicius <axs@gentoo.org> | 2016-03-31 12:13:50 -0400 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2016-03-31 12:13:50 -0400 |
commit | 2b6b60259c34edd5067ac298522a04e95ed2c5cc (patch) | |
tree | 88889257e653147669bd1822d229e6154c7f0786 /net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild | |
parent | dev-db/postgresql: x86 stable wrt bug #578680 (diff) | |
download | gentoo-2b6b60259c34edd5067ac298522a04e95ed2c5cc.tar.gz gentoo-2b6b60259c34edd5067ac298522a04e95ed2c5cc.tar.bz2 gentoo-2b6b60259c34edd5067ac298522a04e95ed2c5cc.zip |
net-fs/smbtatools: ebuilds fixes for newer samba and newer cmake
- Bumped ebuild to EAPI6
- Patched CMakeLists.txt to fix issues with include paths when using newer cmake
- Specify libsmbclient vars in src_configure using pkg-config, fixes bug 561800
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild')
-rw-r--r-- | net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild b/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild new file mode 100644 index 000000000000..c2d65eba3364 --- /dev/null +++ b/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Tools for configuration and query of SMB Traffic Analyzer" +HOMEPAGE="https://github.com/hhetter/smbtatools" +SRC_URI="http://morelias.org/smbta/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=" + dev-db/libdbi + >=dev-db/sqlite-3.7.0:3 + net-fs/samba + net-misc/curl + sys-libs/ncurses:0= + sys-libs/talloc + x11-libs/cairo + x11-libs/pango + dev-qt/qtgui:4 +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" +RDEPEND+=" + net-fs/smbtad +" + +DOCS="doc/smbta-guide.html doc/gfx/*.png" +PATCHES=( "${FILESDIR}"/${P}-fix-cmake.patch ) + +src_configure() { + local mycmakeargs=( + -Ddebug=$(usex debug) + -DLIBSMBCLIENT_LIBRARIES="$(pkg-config --libs smbclient)" + -DLIBSMBCLIENT_INCLUDE_DIRS="$(pkg-config --variable includedir smbclient)" + ) + + cmake-utils_src_configure +} |