diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-05-07 17:48:26 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-05-07 17:48:26 +0000 |
commit | 9886545908dcdfcae0a59b197fe2b56ecf1d5536 (patch) | |
tree | ae4ab37a21aea9399a9e771f2f6dc9025da81d35 /net-im/silc-client/silc-client-1.0.2.ebuild | |
parent | mark ~ppc (diff) | |
download | gentoo-2-9886545908dcdfcae0a59b197fe2b56ecf1d5536.tar.gz gentoo-2-9886545908dcdfcae0a59b197fe2b56ecf1d5536.tar.bz2 gentoo-2-9886545908dcdfcae0a59b197fe2b56ecf1d5536.zip |
Version bump, bug #91756.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'net-im/silc-client/silc-client-1.0.2.ebuild')
-rw-r--r-- | net-im/silc-client/silc-client-1.0.2.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/net-im/silc-client/silc-client-1.0.2.ebuild b/net-im/silc-client/silc-client-1.0.2.ebuild new file mode 100644 index 000000000000..92f65716e8f2 --- /dev/null +++ b/net-im/silc-client/silc-client-1.0.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2005 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.0.2.ebuild,v 1.1 2005/05/07 17:48:26 swegener Exp $ + +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="~x86 ~ppc ~sparc ~amd64" +IUSE="ipv6 perl debug" + +DEPEND="=dev-libs/glib-1.2* + perl? ( + dev-lang/perl + !net-irc/irssi + !net-irc/irssi-cvs + ) + sys-libs/ncurses + !<=net-im/silc-toolkit-0.9.12-r1" + +src_unpack() { + unpack ${A} + cd ${S} + + sed -i \ + -e "s:-g -O2:${CFLAGS}:g" \ + configure +} + +src_compile() { + econf \ + --datadir=/usr/share \ + --with-datadir=/usr/share/${PN} \ + --with-docdir=/usr/share/doc/${PF} \ + --with-helpdir=/usr/share/${PN}/help \ + --with-simdir=/usr/lib/${PN} \ + --with-mandir=/usr/share/man \ + --with-ncurses \ + --without-silcd \ + $(use_enable ipv6) \ + $(use_enable debug) \ + || die "econf failed" + emake -j1 || 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/lib" + 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 +} |