From fc8c5a7a060cad1c13f1c53a3c56161314eaa6a0 Mon Sep 17 00:00:00 2001 From: Sandino Araico Sanchez Date: Fri, 9 Sep 2016 23:50:52 -0500 Subject: [PATCH] version bump al 1.1.11 --- net-im/silc-client/silc-client-1.1.11.ebuild | 81 ++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 net-im/silc-client/silc-client-1.1.11.ebuild diff --git a/net-im/silc-client/silc-client-1.1.11.ebuild b/net-im/silc-client/silc-client-1.1.11.ebuild new file mode 100644 index 0000000..0f71fb2 --- /dev/null +++ b/net-im/silc-client/silc-client-1.1.11.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-0.9.12-r1" + +DEPEND="${COMMONDEPEND} + virtual/pkgconfig + >=net-im/silc-toolkit-1.1.10" + +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 +}