parche para tinfo

This commit is contained in:
Sandino Araico Sanchez 2019-12-14 09:09:17 -06:00
parent b7b46f77db
commit 353f5efe4b
2 changed files with 84 additions and 0 deletions

View file

@ -5,4 +5,5 @@ DIST silc-client-1.1.11.tar.gz 2480356 BLAKE2B fae65605ae1bb34746865d115d06565eb
EBUILD silc-client-1.1.10.ebuild 2181 BLAKE2B 3b9db1cb9ef4d26ae1b45765c72bbe7fd2aa2076a08ed57754a686e2261ec9da94b84e4c61bedbf4b89bfb66faaffa3be1eb78d031fb47fd8c437b97760ea918 SHA512 2824f00d4ef2ff1e8fe8c8785ea6b0afaee67a536667e5aca450cf9d4220707624c7c73bc10fa51921c7b7aaf7046be43dc0cf88f3fdfdaa1cfd88b76db646ac
EBUILD silc-client-1.1.11-r1.ebuild 2178 BLAKE2B 56bfbbe014c6b4f5ba4259f8795994041f4be165597492a5ec1d8abf85947cbf78e98d689a252fdf2a88c34ed9e41e6a1a5a052b542743729155d6e9162f73b7 SHA512 070203f334ff3cab2dbff46dbb393a1ac967224e7478aa6a8b168ba385af10fd4680de33a4d419113e943045df5af93b59f462cdba2e21035a43f075fd13bbb4
EBUILD silc-client-1.1.11-r2.ebuild 2177 BLAKE2B 036e0863100335d4510297f0bec854e6512afbfd7c4f91f36631d2e810a22871bebeac1a9cba667feed1758f15b74b032855324b7048e26dcce799fc250d7e4d SHA512 89b527fc060fc9478d0a49bf4594119c869219dd1c094c26ea4674aa582569693036eb943a9c6b05ad6623296b7170f2987ca59a07076af47d3751f04186c0d8
EBUILD silc-client-1.1.11-r3.ebuild 2229 BLAKE2B 8aadd72b3bc772dd9052c13fdf40ae24f2f5c2626371f447979dfb8f0be9c6347917d6805716c82fe695c2ebf001e21e574a7bf7fae7f6eadc702f33df7fc6de SHA512 b0dfd2da0a6e3f31bded312e015d157b3a5a283cdf2e515293c26eb8872db55ccbacb42fcc0f32d7b16611b24ff63c9147011cac3743e81bf86734f4cb586bf7
EBUILD silc-client-1.1.11.ebuild 2181 BLAKE2B 3b9db1cb9ef4d26ae1b45765c72bbe7fd2aa2076a08ed57754a686e2261ec9da94b84e4c61bedbf4b89bfb66faaffa3be1eb78d031fb47fd8c437b97760ea918 SHA512 2824f00d4ef2ff1e8fe8c8785ea6b0afaee67a536667e5aca450cf9d4220707624c7c73bc10fa51921c7b7aaf7046be43dc0cf88f3fdfdaa1cfd88b76db646ac

View file

@ -0,0 +1,83 @@
# 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
sed -i -e "/CURSES_LIBS/s/-lncurses/-lncurses -ltinfo/" apps/irssi/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
}