/[gentoo-x86]/net-im/silc-toolkit/silc-toolkit-0.9.11-r1.ebuild
Gentoo

Contents of /net-im/silc-toolkit/silc-toolkit-0.9.11-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Aug 29 01:45:35 2004 UTC (13 years, 9 months ago) by swegener
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Removed old ebuilds.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-im/silc-toolkit/silc-toolkit-0.9.11-r1.ebuild,v 1.8 2004/07/15 00:26:05 agriffis Exp $
4
5 IUSE="client ipv6 perl server socks5"
6
7 DESCRIPTION="Software development toolkit which provides full SILC protocol implementation for application developers."
8 HOMEPAGE="http://silcnet.org"
9 SRC_URI="http://silcnet.org/download/toolkit/sources/silc-toolkit-${PV}.tar.bz2"
10 KEYWORDS="x86 ~sparc ~ppc"
11 LICENSE="GPL-2"
12
13 SLOT="0"
14
15 DEPEND="virtual/libc
16 client? ( !net-im/silc-client )
17 client? ( sys-libs/ncurses )
18 client? ( =dev-libs/glib-1.2* )
19 socks5? ( net-misc/dante )
20 perl? ( dev-lang/perl )"
21
22 src_compile() {
23 local myconf
24
25 myconf="--prefix=${D}/usr \
26 --datadir=${D}/usr/share/silc \
27 --mandir=${D}/usr/man \
28 --includedir=${D}/usr/include/${PN} \
29 --sysconfdir=${D}/usr/share/silc/etc \
30 --with-etcdir=${D}/etc/silc \
31 --with-simdir=${D}/usr/share/silc/modules \
32 --with-docdir=${D}/usr/share/doc/${P} \
33 --with-logsdir=${D}/var/log/silc"
34
35 if [ "${DEBUG}" ]
36 then
37 einfo "debugging"
38 myconf="${myconf} --enable-debug"
39 fi
40
41 use ipv6 \
42 && myconf="${myconf} --enable-ipv6"
43
44 use client \
45 && myconf="${myconf} --with-ncurses" \
46 || myconf="${myconf} --without-irssi"
47
48 use server \
49 && myconf="${myconf}" \
50 || myconf="${myconf} --without-silcd"
51
52 econf ${myconf} || die "./configure failed"
53 make || die "make failed"
54 }
55
56 src_install() {
57 if ! use client
58 then
59 if ! use perl
60 then
61 R1="s/installsitearch='//"
62 R2="s/';//"
63 perl_sitearch="`perl -V:installsitearch | sed -e ${R1} -e ${R2}`"
64 myflags="${myflags} INSTALLPRIVLIB=/usr/lib"
65 myflags="${myflags} INSTALLARCHLIB=${perl_sitearch}"
66 myflags="${myflags} INSTALLSITELIB=${perl_sitearch}"
67 myflags="${myflags} INSTALLSITEARCH=${perl_sitearch}"
68 fi
69 fi
70
71 make install || die "make install failed"
72 mv ${D}/usr/tutorial ${D}/usr/share/doc/${P}
73 }

  ViewVC Help
Powered by ViewVC 1.1.20