summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/silc-client')
-rw-r--r--net-im/silc-client/ChangeLog7
-rw-r--r--net-im/silc-client/silc-client-1.1.4.ebuild83
2 files changed, 89 insertions, 1 deletions
diff --git a/net-im/silc-client/ChangeLog b/net-im/silc-client/ChangeLog
index e92db0e477ef..c0771aa74330 100644
--- a/net-im/silc-client/ChangeLog
+++ b/net-im/silc-client/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/silc-client
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/silc-client/ChangeLog,v 1.49 2008/02/14 21:49:00 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/silc-client/ChangeLog,v 1.50 2008/03/26 11:00:29 armin76 Exp $
+
+*silc-client-1.1.4 (26 Mar 2008)
+
+ 26 Mar 2008; Raúl Porcel <armin76@gentoo.org> +silc-client-1.1.4.ebuild:
+ Version bump
14 Feb 2008; Santiago M. Mola <coldwind@gentoo.org>
silc-client-1.1.3.ebuild:
diff --git a/net-im/silc-client/silc-client-1.1.4.ebuild b/net-im/silc-client/silc-client-1.1.4.ebuild
new file mode 100644
index 000000000000..c962831af5ca
--- /dev/null
+++ b/net-im/silc-client/silc-client-1.1.4.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2008 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.4.ebuild,v 1.1 2008/03/26 11:00:29 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 ~ppc64 ~sparc ~x86"
+IUSE="ipv6 perl debug"
+
+DEPEND="perl? ( dev-lang/perl )
+ sys-libs/ncurses
+ dev-util/pkgconfig
+ >=dev-libs/glib-2.8
+ !<=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
+ use amd64 && sed -i -e 's:felf\([^6]\):felf64\1:g' configure
+ epatch "${FILESDIR}/${PN}-1.1-docdir.patch"
+}
+
+src_compile() {
+ local myconf=""
+ use ipv6 && myconf="${myconf} --enable-ipv6"
+
+ 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) \
+ ${myconf}
+
+ 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/*
+}