myoverlay/sys-apps/wsmancli/wsmancli-2.6.0.ebuild

41 lines
788 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
WANT_AUTOCONF=2.5
WANT_AUTOMAKE=1.11
inherit autotools-utils
DESCRIPTION="Opensource Implementation of WS-Management - Command line utility"
HOMEPAGE="https://github.com/Openwsman"
SRC_URI="https://github.com/Openwsman/wsmancli/archive/v2.6.0.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE="test examples static-libs"
CDEPEND="
net-misc/curl[idn]
sys-apps/openwsman
"
RDEPEND="${CDEPEND}"
DEPEND="${CDEPEND}
test? ( dev-util/cunit )
"
src_prepare() {
./bootstrap
}
src_configure() {
local myeconfargs=(
$(use_with test)
$(use_with examples)
)
autotools-utils_src_configure
}
# TODO patch vconfigure option to work exmaples=yes