summaryrefslogtreecommitdiff
path: root/net-libs/libyahoo2
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 /net-libs/libyahoo2
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/libyahoo2')
-rw-r--r--net-libs/libyahoo2/Manifest6
-rw-r--r--net-libs/libyahoo2/files/libyahoo2-1.0.1-asneeded.patch16
-rw-r--r--net-libs/libyahoo2/libyahoo2-1.0.1.ebuild43
-rw-r--r--net-libs/libyahoo2/metadata.xml8
4 files changed, 73 insertions, 0 deletions
diff --git a/net-libs/libyahoo2/Manifest b/net-libs/libyahoo2/Manifest
new file mode 100644
index 000000000000..ebdc48e2ba23
--- /dev/null
+++ b/net-libs/libyahoo2/Manifest
@@ -0,0 +1,6 @@
+AUX libyahoo2-1.0.1-asneeded.patch 379 SHA256 19c2c48421f04673fc470a86f0f04aee3c48733516a2e9a9891e2bae4a11f1f7 SHA512 287ecd3cc8963ef79dddb337e2b7b240a725c009eb3b169951af086070f1bb72d3a4221b4bb6e02893efb22d2314f3fd70074abc887ff56396ef9f5eb5b342ed WHIRLPOOL 6ef901ed6d321242fa5854046e9da427ea473aeddb63b93756b8978d1a440513d70139d60eca7046b4481acc5db85eaa9b71b5931f54121394d61e5940e001b4
+DIST libyahoo2-1.0.1.tar.gz 507023 SHA256 6cd2d02369358190e90e5286e7626ea4ff8d4341cdeb98e13f0bfa06852b2aa7 SHA512 fc522f80c21945e748cfc1051ab615993d2a6c5cf7467d86e04fb8fbeaf8ce3fd925c190a6b57ec4fb9f7ed3df7b2e4c61d141965f8fb8ccf5461e0b36665b86 WHIRLPOOL f1e1f38be669d15b2e2a50c7e05d68123c73d898c176e4a504de956f61bfbec196ece128f62db0692c70504caf557832b1c47d0e28deba0cdecf4f6803623af1
+EBUILD libyahoo2-1.0.1.ebuild 946 SHA256 88f5b67551bf35a122eb3f8b125b8d6e5487e25c40159aaa9df41e8495d558de SHA512 8732fd8582939992a31bfa80d118ed7e61697f1d7fa747a8bd5480647fcaae37741fdf69289ff95dfe2218201c91710b1754acee6f0496e8cdc9622a796e4bdc WHIRLPOOL 18f10570a44d012af332de38227d89910a66796c062d57cc52503432bd3257f16417f01caef0a3206c21fb82132668caffd3d190ec2fa6b5ce31574195de5d6c
+MISC ChangeLog 2503 SHA256 ebd709b5b406ddf32953fdfc7e780a88fb94efbe04996af304afe8c7f0636018 SHA512 a373d22725fa80a6f791385092d03a0356b4ed07abe5175bea0d1963b16271742193f6a7e620fa4cb016509b06fef1940300a80482c2ff823d0a3a770a001a5a WHIRLPOOL 0ec617da28155adf76f8649075631fbac7ebe906d127b9f518e9b6c1a0792ac59d357be0186dabac77cc441ec4d74da0b10764b0b19f2f258dfab95b2952e539
+MISC ChangeLog-2015 1355 SHA256 f620226f2182cba43e54b026ea3d292ccbf8aabcbe30a863559f42efd5679981 SHA512 8508c78279269a1af0b2f0daac7f4bfd92ee30e39e1b89e7a7705595231681181cd99a86779071ce564ab1b9e99999345c2027736e81de918ca8867a6b4c92bf WHIRLPOOL 8579abdc6859a50a8fc08012fa100e221b72f8c20fe10bff6046701e757eac820a5f84ed5f4f6cf061f7e01966bd20a751dce757aaba9454ecfa76c8399d650f
+MISC metadata.xml 246 SHA256 e7810d1676ac547673b9dbcb1f9518906e5417cceeee0af0fc9c33e5176c5551 SHA512 967f79698c434269734a15532f1c4834a5a2a02786d2f25ad7d1f5d323d292a910eec84ff1256c68aab5ca662e3105aa9dcea8cf18c43b0d62121f6352b36343 WHIRLPOOL 806755232ae8c577059081fce149fb107302fc53aa8c1007c3254791140447715c78f2f9e424cd037e79a3ab9cb4643e601ba266129554cdf6195fbf5a6e2c62
diff --git a/net-libs/libyahoo2/files/libyahoo2-1.0.1-asneeded.patch b/net-libs/libyahoo2/files/libyahoo2-1.0.1-asneeded.patch
new file mode 100644
index 000000000000..b05190a02a71
--- /dev/null
+++ b/net-libs/libyahoo2/files/libyahoo2-1.0.1-asneeded.patch
@@ -0,0 +1,16 @@
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -21,11 +21,9 @@
+ noinst_PROGRAMS = yahoo autoresponder
+
+ yahoo_SOURCES = sample_client.c
+-yahoo_LDADD = libyahoo2.la
+-yahoo_LDFLAGS = -lssl
++yahoo_LDADD = libyahoo2.la -lssl
+
+ autoresponder_SOURCES = autoresponder.c
+-autoresponder_LDADD = libyahoo2.la
+-autoresponder_LDFLAGS = -lssl
++autoresponder_LDADD = libyahoo2.la -lssl
+
+ endif
diff --git a/net-libs/libyahoo2/libyahoo2-1.0.1.ebuild b/net-libs/libyahoo2/libyahoo2-1.0.1.ebuild
new file mode 100644
index 000000000000..0cd41ed48213
--- /dev/null
+++ b/net-libs/libyahoo2/libyahoo2-1.0.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit autotools eutils
+
+DESCRIPTION="interface to the new Yahoo! Messenger protocol"
+HOMEPAGE="http://libyahoo2.sourceforge.net/"
+SRC_URI="mirror://sourceforge/libyahoo2/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="static-libs ssl"
+
+RDEPEND="dev-libs/glib:2
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ sed -i -e 's:-ansi -pedantic::' configure.ac || die #240912
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static) \
+ $(use_enable ssl sample-client)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ if use ssl; then
+ dobin src/.libs/{autoresponder,yahoo} || die
+ fi
+
+ dodoc AUTHORS ChangeLog doc/*.txt NEWS README TODO
+
+ find "${D}" -name '*.la' -exec rm -f '{}' +
+}
diff --git a/net-libs/libyahoo2/metadata.xml b/net-libs/libyahoo2/metadata.xml
new file mode 100644
index 000000000000..a38f5ff58985
--- /dev/null
+++ b/net-libs/libyahoo2/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">libyahoo2</remote-id>
+ </upstream>
+</pkgmetadata>