summaryrefslogtreecommitdiff
path: root/dev-libs/xmlrpc-epi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/xmlrpc-epi
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/xmlrpc-epi')
-rw-r--r--dev-libs/xmlrpc-epi/Manifest5
-rw-r--r--dev-libs/xmlrpc-epi/metadata.xml8
-rw-r--r--dev-libs/xmlrpc-epi/xmlrpc-epi-0.54.2.ebuild51
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-libs/xmlrpc-epi/Manifest b/dev-libs/xmlrpc-epi/Manifest
new file mode 100644
index 000000000000..d63cb5290262
--- /dev/null
+++ b/dev-libs/xmlrpc-epi/Manifest
@@ -0,0 +1,5 @@
+DIST xmlrpc-epi-0.54.2.tar.bz2 348478 SHA256 c74ef8fb680b140890138a82f37619714b67f69025a775b9ba2009d62cded0b8 SHA512 2a8e818bd0eff4d1b0ad0c1cb26f93bc65d941096cf9f4555d1969c69601c452ab26edccee511b06efc9927c5deb7bd2a93fe44da23e5e4f78f6c77ca8e1e9c5 WHIRLPOOL 0c050750f12cf917483173aa2fcdb7478e1a0027439eb67c61e3e7eeb9104e530f6ed348cb2594d39c6e6968be5d99bdc7960fb7215af05e040d719d77ca03f0
+EBUILD xmlrpc-epi-0.54.2.ebuild 1226 SHA256 5e7f98420ca1e2b4c8d88fdf65aa8c3ba535c022afa8b33054dbb2ed2df27bd8 SHA512 c7f3cc72cadc1c163959b86a009902ccf50070ca7062004746e11dad79b3323b8f3111651c056343c12a6803a08aa33777d603cf7bde9920a2245968b948acf7 WHIRLPOOL 2f94f9fd2b17c6ae993149074b9f0fdcaa92588f8089b5e03675936947fd4959db250d5eac625edfaf71660ef9b2ffb62ae7b8c19c7bc9017a4e346003f2d002
+MISC ChangeLog 2533 SHA256 26898833c81fdcf04c4f86f41029bc2e3952beb2a201a2d7ef3ab731ecc3e858 SHA512 bc9cd6ec720eafe447a6d3e466da6ada40a75a1f9f8adbf434a2b00258189cbbe1f2e31a8a4e93321a45781c148b7c6c529b83819e1a72cb1270667c91fdc11a WHIRLPOOL d214750263d4d62c0123dfbc66c11b0652e1802079ea32ca774424f1784ba48e04b53aef99fe7abc332d4e03250caaf8880a415c221e90bfaf99e18af0124e0c
+MISC ChangeLog-2015 1865 SHA256 eb23c99c440f77bf033b0a27b1981e21a9632169e6255f8d77eea1a491d784f7 SHA512 13073dc905dc25e7d61e03f085064a8d8126aaffdcf57e1f5d59d2437e78cb43779f99b822b1ae4331bd9153462e6c950e0c5c75d63c56ee5376d189eef7262f WHIRLPOOL ce29104f13547f49b51b254326dafad69e9bb3269e7f2bdd5105d757ebb6d7cf1bb60eb06d4d0fc1b4079025b9c4b1d683648294e916df38e6f3f02bff808d94
+MISC metadata.xml 247 SHA256 58579ca3dac61e6a9d6f8c935767098716f27e1a7a4d92e38df5952c0ba4c957 SHA512 9d95e81a0ea01ed0693e8aaff3c55cffc38aa7d6dedad6212e7d0914791702da5b7434f13deee6fd8b05744002b3d8e60ede232ed1b7b6addd54cd09d50a6824 WHIRLPOOL 0dbfb14e97cb359b8a28f4cee338bf4e41d1b7db98599e1cf0dfc4e8d7d702c34ff60fed8a5bed3539600de866a7f6d243e80e804b2aeb9865897a3cce2c9f53
diff --git a/dev-libs/xmlrpc-epi/metadata.xml b/dev-libs/xmlrpc-epi/metadata.xml
new file mode 100644
index 000000000000..9c33e56d8b34
--- /dev/null
+++ b/dev-libs/xmlrpc-epi/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">xmlrpc-epi</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54.2.ebuild b/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54.2.ebuild
new file mode 100644
index 000000000000..c3a93596ff91
--- /dev/null
+++ b/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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.bz2"
+
+LICENSE="Epinions"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~x86"
+IUSE="examples static-libs"
+
+DEPEND="dev-libs/expat"
+RDEPEND="${DEPEND}"
+
+# NOTES:
+# to prevent conflict with xmlrpc-c, headers are installed in
+# /usr/include/${PN} instead of /usr/include (bug 274291)
+
+src_prepare() {
+ # do not build examples
+ sed -i -e "s:sample::" Makefile.in || die "sed failed"
+}
+
+src_configure() {
+ econf \
+ --includedir=/usr/include/${PN} \
+ --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
+ insinto "/usr/share/doc/${PF}/examples"
+ doins sample/*.c sample/*.php || die "doins failed"
+ doins -r sample/tests || die "doins failed"
+ fi
+}