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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Aug 29 01:45:35 2004 UTC (14 years, 3 months ago) by swegener
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +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.12-r1.ebuild,v 1.7 2004/07/15 00:26:05 agriffis Exp $
4
5 inherit eutils flag-o-matic
6
7 DESCRIPTION="SDK for the SILC protocol"
8 HOMEPAGE="http://silcnet.org/"
9 SRC_URI="http://silcnet.org/download/toolkit/sources/silc-toolkit-${PV}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64"
14 IUSE="client ipv6 server"
15
16 DEPEND="virtual/libc
17 !net-im/silc-client"
18 RDEPEND="virtual/libc"
19
20 src_unpack() {
21 unpack ${A}
22 cd ${S}
23
24 # Fix for amd64
25 [ "${ARCH}" = "amd64" ] && epatch ${FILESDIR}/${P}-64bit_goodness.patch
26 }
27
28 src_compile() {
29 local myconf
30
31 myconf="--prefix=${D}/usr \
32 --datadir=${D}/usr/share/silc \
33 --mandir=${D}/usr/man \
34 --includedir=${D}/usr/include/${PN} \
35 --sysconfdir=${D}/usr/share/silc/etc \
36 --with-etcdir=${D}/etc/silc \
37 --with-simdir=${D}/usr/share/silc/modules \
38 --with-docdir=${D}/usr/share/doc/${P} \
39 --with-logsdir=${D}/var/log/silc"
40
41 # Fix for amd64
42 [ "${ARCH}" = "amd64" ] && append-flags -fPIC
43
44 if [ "${DEBUG}" ]
45 then
46 einfo "debugging"
47 myconf="${myconf} --enable-debug"
48 fi
49
50 use client \
51 && myconf="${myconf}" \
52 || myconf="${myconf} --without-irssi"
53
54 use ipv6 \
55 && myconf="${myconf} --enable-ipv6"
56
57 use server \
58 && myconf="${myconf}" \
59 || myconf="${myconf} --without-silcd"
60
61 econf ${myconf} || die "./configure failed"
62 make || die "make failed"
63 }
64
65 src_install() {
66 make install
67 mv ${D}/usr/tutorial ${D}/usr/share/doc/${P}
68 }

  ViewVC Help
Powered by ViewVC 1.1.20