2021-04-28 11:07:20 +03:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2013-09-25 17:39:09 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-04-28 11:07:20 +03:00
|
|
|
EAPI=7
|
2013-09-25 17:39:09 +04:00
|
|
|
|
2021-04-28 11:07:20 +03:00
|
|
|
inherit autotools
|
2013-09-25 17:39:09 +04:00
|
|
|
|
|
|
|
DESCRIPTION="C++ web services client library and utilities"
|
|
|
|
HOMEPAGE="http://wsdlpull.sourceforge.net"
|
|
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="LGPL-2.1"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
|
|
|
|
# examples have confusing names, so - not adding USE for them
|
|
|
|
# also - do not use --disable-examples, as it is recognized as --enable-examples
|
|
|
|
IUSE="doc static-libs"
|
|
|
|
|
|
|
|
RDEPEND="net-misc/curl"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
doc? ( app-doc/doxygen )"
|
|
|
|
|
|
|
|
src_prepare() {
|
2021-04-28 11:07:20 +03:00
|
|
|
eapply "${FILESDIR}/${P}-buildsystem.patch"
|
2013-10-04 10:29:58 +04:00
|
|
|
|
2013-09-25 17:39:09 +04:00
|
|
|
if ! use doc; then
|
|
|
|
sed -i -e '/SUBDIRS/s/docs //' Makefile.am || die
|
|
|
|
fi
|
|
|
|
|
2021-04-28 11:07:20 +03:00
|
|
|
mv configure.in configure.ac || die
|
2013-09-25 17:39:09 +04:00
|
|
|
rm -r config || die
|
2021-04-28 11:07:20 +03:00
|
|
|
|
|
|
|
eapply_user
|
|
|
|
eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf $(use_enable static-libs static)
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
find "${ED}" -name '*.la' -delete || die
|
2013-09-25 17:39:09 +04:00
|
|
|
}
|