/[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.7 - (hide annotations) (download)
Tue Jul 5 20:44:07 2005 UTC (14 years, 6 months ago) by slarti
Branch: MAIN
Changes since 1.6: +2 -2 lines
Marked ~ia64.
(Portage version: 2.0.51.22-r1)

1 slarti 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 slarti 1.7 # $Header: /var/cvsroot/gentoo-x86/net-misc/gsasl/gsasl-0.2.4.ebuild,v 1.6 2005/05/02 19:41:27 hansmi 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.7 KEYWORDS="amd64 ~ia64 ppc sparc x86"
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 slarti 1.4 make DESTDIR=${D} install || die "einstall failed"
34 slarti 1.1 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 slarti 1.4 dohtml doc/*.html
40 slarti 1.1 docinto examples
41     dodoc examples/*.c
42     fi
43     }

  ViewVC Help
Powered by ViewVC 1.1.20