From 2b45b752a76b1214c8b7b2cd35d80565fbca2101 Mon Sep 17 00:00:00 2001 From: Sandino Araico Sanchez Date: Mon, 2 Jan 2017 23:49:38 -0600 Subject: [PATCH] added silc-toolkit to RDEPEND --- net-im/silc-client/Manifest | 1 + .../silc-client/silc-client-1.1.11-r2.ebuild | 81 +++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 net-im/silc-client/silc-client-1.1.11-r2.ebuild diff --git a/net-im/silc-client/Manifest b/net-im/silc-client/Manifest index 4ef60db..96e3e9f 100644 --- a/net-im/silc-client/Manifest +++ b/net-im/silc-client/Manifest @@ -4,4 +4,5 @@ DIST silc-client-1.1.10.tar.gz 2113888 SHA256 ccb17bcca3129fc1b26b8080d42b0fe618 DIST silc-client-1.1.11.tar.gz 2480356 SHA256 8cedf2f3c15322296afe094de60504bc27e349f1942713a2f322c7ef6ad5089e SHA512 185cd687a155fbbfbb65877438c2ad099d6795451d443d4d826d47469d312fa9f82035999d1cdf80f24eac2df45a10e88ddf095dc5acda70a31c61a4abb1cdb2 WHIRLPOOL 9503de7811c26b77fd86ffd699286c26be430b77172d8c2cdaadf376e185b284a3485b2752b434afd3eb3d8b9e6479634e96fdd7cd48881982cecf264d2c38c0 EBUILD silc-client-1.1.10.ebuild 2181 SHA256 47050ae1d24fee035cd9b66fe7d194ef9c2f907c4f67c5ca024555c6da9d35e3 SHA512 2824f00d4ef2ff1e8fe8c8785ea6b0afaee67a536667e5aca450cf9d4220707624c7c73bc10fa51921c7b7aaf7046be43dc0cf88f3fdfdaa1cfd88b76db646ac WHIRLPOOL 054467c38a12d3b76eed3f07e1e4a28f48281126bf06e1c038a89e9a20a358149494804be98180f78c35091ec35b8bb42deb0ee973dc40eea3bc0455e60babb1 EBUILD silc-client-1.1.11-r1.ebuild 2178 SHA256 7e8857a928b03dd3e35787fada64f8c985e5b1d7eddfed5e51cac7c6f91b2f86 SHA512 070203f334ff3cab2dbff46dbb393a1ac967224e7478aa6a8b168ba385af10fd4680de33a4d419113e943045df5af93b59f462cdba2e21035a43f075fd13bbb4 WHIRLPOOL 4eab1e29296e0a93d26cdb862e5757e2f370066cec0e577323c3aadcc60b24ef9a718e0bbebbea591edb94773e6c9231b5e85c9d2bacadac6eb16c958f97899b +EBUILD silc-client-1.1.11-r2.ebuild 2149 SHA256 3034d2ff2879f788b11ecaad131d7672e0aa181c86d979c0a8677b2c2367b57d SHA512 6e858b8e0e7be9d3edf808546ab63a24e7ad3c9d9d14d68a91fe1cb1d8bf6e40a76354c1015b72f0384815e8a6c1eaeb3d681a6a559517e87258f8ae242180b0 WHIRLPOOL 87414468f15a3e1d6e2fb9f63b6b17fb57e5105f1998eb26bd8dce5d61577cb985695836b41f836082da7e9d03c6441e7a7024737e14e8f13092d930fcf7042a EBUILD silc-client-1.1.11.ebuild 2181 SHA256 47050ae1d24fee035cd9b66fe7d194ef9c2f907c4f67c5ca024555c6da9d35e3 SHA512 2824f00d4ef2ff1e8fe8c8785ea6b0afaee67a536667e5aca450cf9d4220707624c7c73bc10fa51921c7b7aaf7046be43dc0cf88f3fdfdaa1cfd88b76db646ac WHIRLPOOL 054467c38a12d3b76eed3f07e1e4a28f48281126bf06e1c038a89e9a20a358149494804be98180f78c35091ec35b8bb42deb0ee973dc40eea3bc0455e60babb1 diff --git a/net-im/silc-client/silc-client-1.1.11-r2.ebuild b/net-im/silc-client/silc-client-1.1.11-r2.ebuild new file mode 100644 index 0000000..4ea9193 --- /dev/null +++ b/net-im/silc-client/silc-client-1.1.11-r2.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/silc-client/Attic/silc-client-1.1.8.ebuild,v 1.9 2012/05/04 06:22:11 jdhore Exp $ + +EAPI=5 + +inherit eutils multilib + +DESCRIPTION="IRSSI-based text client for Secure Internet Live Conferencing" +HOMEPAGE="http://silcnet.org/" +#SRC_URI="http://www.silcnet.org/download/client/sources/${P}.tar.bz2" +SRC_URI="mirror://sourceforge/silc/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="ipv6 perl debug" + +COMMONDEPEND="perl? ( dev-lang/perl ) + sys-libs/ncurses + >=dev-libs/glib-2.8 + >=net-im/silc-toolkit-1.1.12" + +DEPEND="${COMMONDEPEND} + virtual/pkgconfig + " + +RDEPEND="${COMMONDEPEND} + perl? ( + !net-irc/irssi + !net-irc/irssi-svn + )" + +src_prepare() { + sed -i -e "s:-g -O2:${CFLAGS}:g" configure + use amd64 && sed -i -e 's:felf\([^6]\):felf64\1:g' configure + epatch "${FILESDIR}/${PN}-1.1.10-docdir.patch" + epatch "${FILESDIR}/${PN}-1.1.8-sandbox-errors-fix.patch" +} + +src_configure() { + econf \ + --datadir=/usr/share/${PN} \ + --datarootdir=/usr/share/${PN} \ + --mandir=/usr/share/man \ + --includedir=/usr/include/${PN} \ + --sysconfdir=/etc/silc \ + --with-helpdir=/usr/share/${PN}/help \ + --libdir=/usr/$(get_libdir)/${PN} \ + --docdir=/usr/share/doc/${PF} \ + --disable-optimizations \ + $(use_enable debug) \ + $(use_enable ipv6) \ + $(use_with perl) +} + +src_install() { + local myflags="" + + if use perl + then + perl_sitearch="`perl -V:installsitearch | sed "s|.*'\(.*\)'.*|\1|"`" + myflags="INSTALLPRIVLIB=/usr/$(get_libdir)" + myflags+=" INSTALLARCHLIB=${perl_sitearch}" + myflags+=" INSTALLSITELIB=${perl_sitearch}" + myflags+=" INSTALLSITEARCH=${perl_sitearch}" + fi + + emake DESTDIR="${D}" ${myflags} install || die "make install failed" + + rm -rf "${D}"/etc + + dodoc ChangeLog CREDITS README TODO || die + cd "${S}/apps/irssi" || die + dodoc silc.conf docs/formats.txt docs/manual.txt docs/signals.txt docs/special_vars.txt || die + dohtml docs/startup-HOWTO.html || die + + insinto /usr/share/silc-client/help + rm docs/help/Make* || die + doins docs/help/* || die +}