Ebuild para silc-client 1.1.10

This commit is contained in:
Sandino Araico Sanchez 2016-09-09 23:23:17 -05:00
parent 68dd8605fe
commit 4014b48a3d
5 changed files with 218 additions and 0 deletions

View file

@ -0,0 +1,5 @@
AUX silc-client-1.1-docdir.patch 1913 SHA256 8d90646881289606e2ef65c28d320226bd170968e081d099d1251ba3bf11e1b2 SHA512 25a27f5d1b1db5a76ebcd9b7c0e2826eba337a26075a7fe18bfd9e33a81417e007037a82436e2ce080bca2e5fcb0a1c97c450b351dd8815bb39cf701232a7503 WHIRLPOOL 4bf47beadad202cf15b3bad41ab9b1071667233cb95ab64e039f928507481c5c7fdf2247c4f4abdf5d9b7d56c49ee044787e7b8195faa2f5c2854e0a99266023
AUX silc-client-1.1.8-docdir.patch 1792 SHA256 149f2dbe89c7c38b3802ae779cf1242bcfd0b06090f2f8b874ff1fb99030bf00 SHA512 89c228991b5b8cf32ad7874d0e9c68e5bcab5184dc48d490850e204410860846dd9c97f22c0b46ee17b88b0f1f826b16694ba34ca9313695ad35ed917aa086d4 WHIRLPOOL 7b6ea181b808d3d84a50adb90cae432aa2cfbc84ca8003497cd1c63ffc8ffc47c092c2fe503c58e1d78542b2d4cdd3e3ae28548a7b744889d325785e6256a629
AUX silc-client-1.1.8-sandbox-errors-fix.patch 932 SHA256 4279b77f226d029e8d64a91da3dd4f89b24d2dc6700f5df4394867cf3632b3c7 SHA512 f1fdfef572de74848f0155ac9cac8fd509134145d0fa1925cf953ccc277f7c6655e28035c82ea0230de70a0b35951ab42214716ea39569dd3a881e5974e62aa9 WHIRLPOOL 8822adc2787015538a682beba0b4f3511dd3f7fe3e60fe551752933a6e487b26a436d4a921dfe7763229a0fc84e559dcf8651b13994d3543857af51952215a11
DIST silc-client-1.1.10.tar.gz 2113888 SHA256 ccb17bcca3129fc1b26b8080d42b0fe6189a7e3da0fcd072aff6f83111e99513 SHA512 c798c33d5515d27fdca67e2abf870b3fb2f5935f57011f921e35cdc4cb7bd42140ff74322926190b0f30d9f5c73002e25706add6ad44f5a0bd8ca996ca0f970b WHIRLPOOL 9d3f2b75f37a076b871fa6cbdb17e5eb185ddbe9bad8ef89488bf54397bf27eebcb746da79f53a79aad58662f9d33a5d49bc2915e144157e0f21eabe685808d7
EBUILD silc-client-1.1.10.ebuild 2173 SHA256 ecc01214f508518a13f8cded14f19b058b72051319a6f80fb0638f2a825ae21c SHA512 ac210bfddfebaa9fcc4dcb518cbc6c9c8df0049fc45505b3a1be24d38fc18c3f2f260ba48205ed1e3b00179bc829d0eeda77fc705ff340c20cedd4fb5e84a0a4 WHIRLPOOL 8918e2818eafc595aacce3df1b4ab3cd298ab77bff232110abc7ce31d4b4834010d415ecfabbed6b6406c2b7792c9c6dfc77d53a1f6ea0978f5b596b3601df1f

View file

@ -0,0 +1,55 @@
--- doc/Makefile.in.orig 2007-06-07 13:36:23.000000000 +0200
+++ doc/Makefile.in 2007-06-07 13:36:49.000000000 +0200
@@ -449,14 +449,6 @@
$(SILC_TOP_SRCDIR)/scripts/manpages.pl
doc-install:
- -mkdir -p $(docdir)
- -$(INSTALL_DATA) $(top_srcdir)/doc/FAQ $(docdir)/
- -$(INSTALL_DATA) $(top_srcdir)/COPYING $(docdir)/
- -$(INSTALL_DATA) $(top_srcdir)/CHANGES $(docdir)/
- -$(INSTALL_DATA) $(top_srcdir)/CREDITS $(docdir)/
- -$(INSTALL_DATA) $(top_srcdir)/README* $(docdir)/
- -$(INSTALL_DATA) $(top_srcdir)/INSTALL $(docdir)/
- -$(INSTALL_DATA) $(top_srcdir)/TODO $(docdir)/
install-data-hook: doc-install
--- apps/irssi/docs/Makefile.in.orig 2007-06-07 13:40:08.000000000 +0200
+++ apps/irssi/docs/Makefile.in 2007-06-07 13:40:33.000000000 +0200
@@ -251,15 +251,7 @@
clean-libtool:
-rm -rf .libs _libs
-install-docDATA: $(doc_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
- @list='$(doc_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
- echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
- $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
- done
+install-docDATA:
uninstall-docDATA:
@$(NORMAL_UNINSTALL)
--- apps/irssi/docs/help/Makefile.in.orig 2007-06-07 13:39:11.000000000 +0200
+++ apps/irssi/docs/help/Makefile.in 2007-06-07 13:39:45.000000000 +0200
@@ -351,15 +351,7 @@
clean-libtool:
-rm -rf .libs _libs
-install-helpDATA: $(help_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(helpdir)" || $(MKDIR_P) "$(DESTDIR)$(helpdir)"
- @list='$(help_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
- echo " $(helpDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(helpdir)/$$f'"; \
- $(helpDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(helpdir)/$$f"; \
- done
+install-helpDATA:
uninstall-helpDATA:
@$(NORMAL_UNINSTALL)

View file

@ -0,0 +1,55 @@
--- silc-client-1.1.8/apps/irssi/docs/help/Makefile.in
+++ silc-client-1.1.8/apps/irssi/docs/help/Makefile.in
@@ -356,15 +356,7 @@
clean-libtool:
-rm -rf .libs _libs
-install-helpDATA: $(help_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(helpdir)" || $(MKDIR_P) "$(DESTDIR)$(helpdir)"
- @list='$(help_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
- echo " $(helpDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(helpdir)/$$f'"; \
- $(helpDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(helpdir)/$$f"; \
- done
+install-helpDATA:
uninstall-helpDATA:
@$(NORMAL_UNINSTALL)
--- silc-client-1.1.8/apps/irssi/docs/Makefile.in
+++ silc-client-1.1.8/apps/irssi/docs/Makefile.in
@@ -256,15 +256,7 @@
clean-libtool:
-rm -rf .libs _libs
-install-docDATA: $(doc_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
- @list='$(doc_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
- echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
- $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
- done
+install-docDATA:
uninstall-docDATA:
@$(NORMAL_UNINSTALL)
--- silc-client-1.1.8/doc/Makefile.in
+++ silc-client-1.1.8/doc/Makefile.in
@@ -454,14 +454,6 @@
$(SILC_TOP_SRCDIR)/scripts/manpages.pl
doc-install:
- -mkdir -p $(docdir)
- -$(INSTALL_DATA) $(top_srcdir)/doc/FAQ $(docdir)/
- -$(INSTALL_DATA) $(top_srcdir)/COPYING $(docdir)/
- -$(INSTALL_DATA) $(top_srcdir)/ChangeLog $(docdir)/
- -$(INSTALL_DATA) $(top_srcdir)/CREDITS $(docdir)/
- -$(INSTALL_DATA) $(top_srcdir)/README* $(docdir)/
- -$(INSTALL_DATA) $(top_srcdir)/INSTALL $(docdir)/
- -$(INSTALL_DATA) $(top_srcdir)/TODO $(docdir)/
install-data-hook: doc-install

View file

@ -0,0 +1,22 @@
--- silc-client-1.1.8/lib/Makefile.am
+++ silc-client-1.1.8/lib/Makefile.am
@@ -75,7 +75,7 @@
install-exec-hook:
if SILC_ENABLE_SHARED
- -mkdir -p $(libdir)
+ -mkdir -p $(DESTDIR)$(libdir)
-$(LIBTOOL) --mode=install $(INSTALL) libsilc.la $(DESTDIR)$(libdir)/
-$(LIBTOOL) --mode=install $(INSTALL) libsilcclient.la $(DESTDIR)$(libdir)/
-rm -rf $(DESTDIR)$(libdir)/libsilc.a
--- silc-client-1.1.8/lib/Makefile.in
+++ silc-client-1.1.8/lib/Makefile.in
@@ -640,7 +640,7 @@
$(MAKE) remove $(SILCLIB) $(SILCSERVERLIB) $(SILCCLIENTLIB)
install-exec-hook:
-@SILC_ENABLE_SHARED_TRUE@ -mkdir -p $(libdir)
+@SILC_ENABLE_SHARED_TRUE@ -mkdir -p $(DESTDIR)$(libdir)
@SILC_ENABLE_SHARED_TRUE@ -$(LIBTOOL) --mode=install $(INSTALL) libsilc.la $(DESTDIR)$(libdir)/
@SILC_ENABLE_SHARED_TRUE@ -$(LIBTOOL) --mode=install $(INSTALL) libsilcclient.la $(DESTDIR)$(libdir)/
@SILC_ENABLE_SHARED_TRUE@ -rm -rf $(DESTDIR)$(libdir)/libsilc.a

View file

@ -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.8-docdir.patch"
epatch "${FILESDIR}/${P}-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
}