/[gentoo-x86]/net-misc/gsasl/gsasl-0.2.4.ebuild
Gentoo

Contents of /net-misc/gsasl/gsasl-0.2.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Mar 10 07:55:17 2005 UTC (14 years, 10 months ago) by slarti
Branch: MAIN
Changes since 1.1: +2 -2 lines
Marked ~sparc
(Portage version: 2.0.51.19)

1 slarti 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 slarti 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/gsasl/gsasl-0.2.4.ebuild,v 1.1 2005/01/22 16:15:42 slarti Exp $
4 slarti 1.1
5     DESCRIPTION="The GNU SASL client, server, and library"
6     HOMEPAGE="http://www.gnu.org/software/gsasl/"
7     SRC_URI="http://josefsson.org/gsasl/releases/${P}.tar.gz"
8     LICENSE="GPL-2"
9     SLOT="0"
10     # TODO: check http://www.gnu.org/software/gsasl/#dependencies for more
11     # optional external libraries.
12 slarti 1.2 KEYWORDS="~x86 ~amd64 ~ppc ~sparc"
13 slarti 1.1 IUSE="kerberos nls static doc"
14     PROVIDE="virtual/gsasl"
15     DEPEND="virtual/libc
16     nls? ( sys-devel/gettext )
17     kerberos? ( virtual/krb5 )"
18     RDEPEND="${DEPEND}
19     !virtual/gsasl"
20    
21     src_compile() {
22     econf \
23     --enable-client \
24     --enable-server \
25     $(use_enable kerberos gssapi) \
26     $(use_enable nls) \
27     $(use_enable static) \
28     || die "econf failed"
29     emake || die "emake failed"
30     }
31    
32     src_install() {
33     make DESTDIR=${D} || die "einstall failed"
34     dodoc ABOUT-NLS AUTHORS ChangeLog NEWS README README-alpha THANKS
35     doman doc/gsasl.1
36    
37     if use doc; then
38     dodoc doc/*.{eps,ps,pdf}
39     dohtml doc/*
40     docinto examples
41     dodoc examples/*.c
42     fi
43     }

  ViewVC Help
Powered by ViewVC 1.1.20