You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/libiscsi/libiscsi-1.9.0-r1.ebuild

41 lines
805 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
AUTOTOOLS_AUTORECONF="1"
inherit eutils autotools-utils
if [[ ${PV} = *9999* ]]; then
inherit git-2
SRC_URI=""
EGIT_REPO_URI="git://github.com/sahlberg/libiscsi.git"
KEYWORDS="~alpha ~hppa ~ppc64"
else
SRC_URI="https://github.com/sahlberg/libiscsi/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha amd64 ~hppa ~ppc64 x86"
fi
DESCRIPTION="iscsi client library and utilities"
HOMEPAGE="https://github.com/sahlberg/libiscsi"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
QA_FLAGS_IGNORED="usr/bin/ld_iscsi.so"
myeconfargs=( "--disable-werror" )
src_prepare() {
epatch "${FILESDIR}"/${P}-00*.patch
epatch_user
autotools-utils_src_prepare
}