+DIST libiscsi-1.15.0.tar.gz 223380 SHA256 489e625e58c1e6da2fa3536f9c4b12290f2d3fb4ce14edc0583b8ba500605c34 SHA512 22c566d4cf10454b9c6208d64f5dab8e32806a5036cd328f8b2d8bf14f9e9c2d519db8df4fc8884f468bad27d645ccf719502d49f6937eace88f590946366e06 WHIRLPOOL f5618c985467df1b76689ae0601d8ec8a251a61ac1d7d7a5e44165b8710827530fbd2595ed87d0b83226fecc5ef8cb5e89dfa90cd6760db800856d5e2367ce69
DIST libiscsi-1.9.0.tar.gz 182123 SHA256 64d7d6fdb53f0cc4163a0f1dc6cc94618f34a52c4836cf25a42f3769dfd46bbf SHA512 cf88c0f32a21193499720d24f215fb02e7a46ef07999ef59cdad9cad14f92399b3d2e46e8e6f54574dc77225a5b437608216da242971e0d6f35c71830371415a WHIRLPOOL 63af85f03e032ff034b7ce3331f8cb74ffa79c4621efb9873e0b3c76f3f9620439c11216f33d1e97c784f98ecff516048e53f66d88d51dc81578e7e535135588
--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools eutils
+
+DESCRIPTION="iscsi client library and utilities"
+HOMEPAGE="https://github.com/sahlberg/libiscsi"
+SRC_URI="https://github.com/sahlberg/libiscsi/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="dev-libs/libgcrypt:0="
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-manpages \
+ --disable-werror \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-AUTOTOOLS_AUTORECONF="1"
-inherit autotools-utils
-
-if [[ ${PV} = *9999* ]]; then
- inherit git-2
- SRC_URI=""
- EGIT_REPO_URI="git://github.com/sahlberg/libiscsi.git"
- KEYWORDS=""
-else
- SRC_URI="https://github.com/sahlberg/libiscsi/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
-fi
+inherit autotools eutils git-r3
DESCRIPTION="iscsi client library and utilities"
HOMEPAGE="https://github.com/sahlberg/libiscsi"
+SRC_URI=""
+EGIT_REPO_URI="git://github.com/sahlberg/libiscsi.git"
-LICENSE="GPL-2 LGPL-2"
SLOT="0"
-IUSE=""
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS=""
+IUSE="static-libs"
+
+RDEPEND="dev-libs/libgcrypt:0="
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-manpages \
+ --disable-werror \
+ $(use_enable static-libs static)
+}
-DEPEND=""
-RDEPEND="${DEPEND}"
+src_install() {
+ default
+ prune_libtool_files
+}