/[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.10 - (hide annotations) (download)
Wed Feb 17 20:48:20 2010 UTC (9 years, 11 months ago) by jer
Branch: MAIN
Changes since 1.9: +5 -7 lines
Switch to new style virtuals (bug #237400).
(Portage version: 2.2_rc62/cvs/Linux i686)

1 jer 1.10 # Copyright 1999-2010 Gentoo Foundation
2 slarti 1.1 # Distributed under the terms of the GNU General Public License v2
3 jer 1.10 # $Header: /var/cvsroot/gentoo-x86/net-misc/gsasl/gsasl-0.2.4.ebuild,v 1.9 2009/09/23 19:36:12 patrick 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 agriffis 1.8 KEYWORDS="amd64 ia64 ppc sparc x86"
13 slarti 1.1 IUSE="kerberos nls static doc"
14 patrick 1.9 DEPEND="nls? ( sys-devel/gettext )
15 slarti 1.1 kerberos? ( virtual/krb5 )"
16 jer 1.10 RDEPEND="${DEPEND}"
17 slarti 1.1
18     src_compile() {
19     econf \
20     --enable-client \
21     --enable-server \
22     $(use_enable kerberos gssapi) \
23     $(use_enable nls) \
24     $(use_enable static) \
25     || die "econf failed"
26     emake || die "emake failed"
27     }
28    
29     src_install() {
30 jer 1.10 make DESTDIR="${D}" install || die "make install failed"
31     dodoc AUTHORS ChangeLog NEWS README README-alpha THANKS
32 slarti 1.1 doman doc/gsasl.1
33    
34     if use doc; then
35     dodoc doc/*.{eps,ps,pdf}
36 slarti 1.4 dohtml doc/*.html
37 slarti 1.1 docinto examples
38     dodoc examples/*.c
39     fi
40     }

  ViewVC Help
Powered by ViewVC 1.1.20