summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/silc-client/ChangeLog8
-rw-r--r--net-im/silc-client/files/digest-silc-client-1.13
-rw-r--r--net-im/silc-client/files/silc-client-1.1-docdir.patch55
-rw-r--r--net-im/silc-client/silc-client-1.1.ebuild72
4 files changed, 137 insertions, 1 deletions
diff --git a/net-im/silc-client/ChangeLog b/net-im/silc-client/ChangeLog
index 610f19919b07..bf24ed6d8fe9 100644
--- a/net-im/silc-client/ChangeLog
+++ b/net-im/silc-client/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-im/silc-client
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/silc-client/ChangeLog,v 1.36 2007/03/20 18:01:16 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/silc-client/ChangeLog,v 1.37 2007/06/12 15:48:18 armin76 Exp $
+
+*silc-client-1.1 (12 Jun 2007)
+
+ 12 Jun 2007; Raúl Porcel <armin76@gentoo.org>
+ +files/silc-client-1.1-docdir.patch, +silc-client-1.1.ebuild:
+ Version bump
*silc-client-1.0.4.1 (20 Mar 2007)
diff --git a/net-im/silc-client/files/digest-silc-client-1.1 b/net-im/silc-client/files/digest-silc-client-1.1
new file mode 100644
index 000000000000..5c2744dfff91
--- /dev/null
+++ b/net-im/silc-client/files/digest-silc-client-1.1
@@ -0,0 +1,3 @@
+MD5 3b2d25e2379c79d88169ef777230f318 silc-client-1.1.tar.bz2 1611218
+RMD160 47f398fc5b58d5ca5542d808dc15c9f4a9bf300b silc-client-1.1.tar.bz2 1611218
+SHA256 b41f162cd06e3b21daacd39a54438cc5b8c63228110bebeaf7b8c886bf107326 silc-client-1.1.tar.bz2 1611218
diff --git a/net-im/silc-client/files/silc-client-1.1-docdir.patch b/net-im/silc-client/files/silc-client-1.1-docdir.patch
new file mode 100644
index 000000000000..b0590b067618
--- /dev/null
+++ b/net-im/silc-client/files/silc-client-1.1-docdir.patch
@@ -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)
diff --git a/net-im/silc-client/silc-client-1.1.ebuild b/net-im/silc-client/silc-client-1.1.ebuild
new file mode 100644
index 000000000000..4689c3240511
--- /dev/null
+++ b/net-im/silc-client/silc-client-1.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/silc-client/silc-client-1.1.ebuild,v 1.1 2007/06/12 15:48:18 armin76 Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="IRSSI-based text client for Secure Internet Live Conferencing"
+SRC_URI="http://www.silcnet.org/download/client/sources/${P}.tar.bz2"
+HOMEPAGE="http://silcnet.org/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="ipv6 perl debug"
+
+#=dev-libs/glib-1.2*
+
+DEPEND="perl? ( dev-lang/perl )
+ sys-libs/ncurses
+ !<=net-im/silc-toolkit-0.9.12-r1"
+RDEPEND="${DEPEND}
+ perl? (
+ !net-irc/irssi
+ !net-irc/irssi-svn
+ )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i -e "s:-g -O2:${CFLAGS}:g" configure
+ epatch "${FILESDIR}/${P}-docdir.patch"
+}
+
+src_compile() {
+ local myconf=""
+ use ipv6 && myconf="${myconf} --enable-ipv6"
+
+ econf \
+ $(use_enable debug) \
+ --with-simdir=/usr/$(get_libdir)/${PN} \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ local myflags=""
+
+ if use perl
+ then
+ R1="s/installsitearch='//"
+ R2="s/';//"
+ perl_sitearch="`perl -V:installsitearch | sed -e ${R1} -e ${R2}`"
+ myflags="${myflags} INSTALLPRIVLIB=/usr/$(get_libdir)"
+ myflags="${myflags} INSTALLARCHLIB=${perl_sitearch}"
+ myflags="${myflags} INSTALLSITELIB=${perl_sitearch}"
+ myflags="${myflags} INSTALLSITEARCH=${perl_sitearch}"
+ fi
+
+ make DESTDIR="${D}" ${myflags} install || die "make install failed"
+
+ rm -rf ${D}/etc ${D}/usr/libsilc* ${D}/usr/include
+
+ dodoc CHANGES CREDITS README TODO
+ cd "${S}/apps/irssi"
+ dodoc silc.conf docs/formats.txt docs/manual.txt docs/signals.txt docs/special_vars.txt
+ dohtml docs/startup-HOWTO.html
+
+ insinto /usr/share/silc-client/help
+ rm docs/help/Make*
+ doins docs/help/*
+}