diff options
author | Mounir Lamouri <volkmar@gentoo.org> | 2009-07-07 18:49:11 +0000 |
---|---|---|
committer | Mounir Lamouri <volkmar@gentoo.org> | 2009-07-07 18:49:11 +0000 |
commit | 0a2789ae23a86023486d093370863fee1afb28d3 (patch) | |
tree | 7cb10bef0dc5fdfa73cd9fd68eb899fbbbe801d8 /dev-libs/xmlrpc-epi/xmlrpc-epi-0.54-r1.ebuild | |
parent | Automated update of use.local.desc (diff) | |
download | historical-0a2789ae23a86023486d093370863fee1afb28d3.tar.gz historical-0a2789ae23a86023486d093370863fee1afb28d3.tar.bz2 historical-0a2789ae23a86023486d093370863fee1afb28d3.zip |
add static-libs USE flag and remove .la files if not enabled
Package-Manager: portage-13790-svn/cvs/Linux ppc
Diffstat (limited to 'dev-libs/xmlrpc-epi/xmlrpc-epi-0.54-r1.ebuild')
-rw-r--r-- | dev-libs/xmlrpc-epi/xmlrpc-epi-0.54-r1.ebuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54-r1.ebuild b/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54-r1.ebuild index 4dff17579aa7..f61b1ef933ee 100644 --- a/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54-r1.ebuild +++ b/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54-r1.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54-r1.ebuild,v 1.2 2009/07/07 14:37:20 lavajoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54-r1.ebuild,v 1.3 2009/07/07 18:49:11 volkmar Exp $ EAPI="2" +inherit multilib + DESCRIPTION="Epinions implementation of XML-RPC protocol in C" HOMEPAGE="http://xmlrpc-epi.sourceforge.net/" SRC_URI="mirror://sourceforge/xmlrpc-epi/${P}.tar.gz" @@ -11,7 +13,7 @@ SRC_URI="mirror://sourceforge/xmlrpc-epi/${P}.tar.gz" LICENSE="Epinions" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="examples" +IUSE="examples static-libs" DEPEND="dev-libs/expat" RDEPEND="${DEPEND}" @@ -28,12 +30,18 @@ src_prepare() { src_configure() { econf \ --includedir=/usr/include/${PN} \ - --disable-dependency-tracking + --disable-dependency-tracking \ + $(use_enable static-libs static) } src_install() { emake DESTDIR="${D}" install || die "emake install failed" + if ! use static-libs; then + # remove useless la files + rm "${D}"/usr/$(get_libdir)/lib${PN}.la || die "rm failed" + fi + dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" if use examples; then |