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 | |
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')
-rw-r--r-- | dev-libs/xmlrpc-epi/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/xmlrpc-epi/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/xmlrpc-epi/metadata.xml | 3 | ||||
-rw-r--r-- | dev-libs/xmlrpc-epi/xmlrpc-epi-0.54-r1.ebuild | 14 |
4 files changed, 23 insertions, 7 deletions
diff --git a/dev-libs/xmlrpc-epi/ChangeLog b/dev-libs/xmlrpc-epi/ChangeLog index 044154cd4934..a4a94e309da5 100644 --- a/dev-libs/xmlrpc-epi/ChangeLog +++ b/dev-libs/xmlrpc-epi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/xmlrpc-epi # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-epi/ChangeLog,v 1.4 2009/07/07 14:37:20 lavajoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-epi/ChangeLog,v 1.5 2009/07/07 18:49:11 volkmar Exp $ + + 07 Jul 2009; Mounir Lamouri <volkmar@gentoo.org> + xmlrpc-epi-0.54-r1.ebuild: + Add static-libs USE flag and remove .la files if not enabled. + Thanks to Mauro Toffanin. 07 Jul 2009; Joe Peterson <lavajoe@gentoo.org> xmlrpc-epi-0.54-r1.ebuild: Keyword ~amd64 diff --git a/dev-libs/xmlrpc-epi/Manifest b/dev-libs/xmlrpc-epi/Manifest index d01ecc16b50f..fdc2f266b47d 100644 --- a/dev-libs/xmlrpc-epi/Manifest +++ b/dev-libs/xmlrpc-epi/Manifest @@ -1,4 +1,4 @@ DIST xmlrpc-epi-0.54.tar.gz 491572 RMD160 4f51c47f1e84a21b0041e770d9362c8be371c242 SHA1 e547f2399c008a818b43161c1df593a0490c7567 SHA256 bd685ec51a477a28735188c10313d9f9ca35a7725a740ad49ccdcf62d9ca0e3f -EBUILD xmlrpc-epi-0.54-r1.ebuild 1158 RMD160 6d5a2b66de4f04283a19f7558722b68a8f1af776 SHA1 a7563c7acba6dac05212cc5bf465f3708182cf5a SHA256 d210631fa8a29b4084141d41e874059419145c4fbdfbe404d660df8638237bba -MISC ChangeLog 816 RMD160 86974a53266103272e9fffae29947529d2712ccb SHA1 43598c795e6529c4e4fe902575a5b23acbaf192c SHA256 5c37040b7ac295faa63561e2ee4cc1c1f3113c57b7d8fa4dcc18af997ecaed9e -MISC metadata.xml 257 RMD160 224ee82bfe66c5da4a2dc1dd697b1782e7f03cb9 SHA1 6b583c76750b206bd133403d1a4685a14f8e6b95 SHA256 45f231de4d8bc5ed6309ba83d2eb9a06b8e13f828d7b74e909a144439356cd62 +EBUILD xmlrpc-epi-0.54-r1.ebuild 1347 RMD160 2d9726f81c106346908d264e7bf726f685babb06 SHA1 9c98eb22a86932f710dc3e8a214c037e9a3fb73a SHA256 c5130ec3b44d6c99dfb8d8ab66c8c577ace754a68a745d4e58269570ae1e109d +MISC ChangeLog 989 RMD160 d6cb18274d4441441d9b53de9fa97a1b89c80612 SHA1 c11014c533b0e7ca4fcb604f4071130156dc8391 SHA256 938705352e372efb41f0f8d89c7894ccf5278b604dcab7eacd6f3aa927cd93ce +MISC metadata.xml 330 RMD160 91c1baeeef0ebcce8ec203b31b6c702d99250937 SHA1 67c06b84f9e90c9ac5e8e2946cebd2d5a9fe7b5f SHA256 e7a43917f41af87abdd30c8fa514a137ea2008e2d232b31806c7cdc7de55c7a9 diff --git a/dev-libs/xmlrpc-epi/metadata.xml b/dev-libs/xmlrpc-epi/metadata.xml index d44dc8ef07cc..e1d1f4c511aa 100644 --- a/dev-libs/xmlrpc-epi/metadata.xml +++ b/dev-libs/xmlrpc-epi/metadata.xml @@ -6,5 +6,8 @@ <email>volkmar@gentoo.org</email> <name>Mounir Lamouri</name> </maintainer> + <use> + <flag name="static-libs">Compile static archives</flag> + </use> </pkgmetadata> 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 |