/[gentoo-x86]/net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild
Gentoo

Contents of /net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations) (download)
Tue May 20 10:02:35 2014 UTC (6 years, 4 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +2 -2 lines
Stable for HPPA too.

(Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --ignore-arches, signed Manifest commit with key A792A613)

1 mgorny 1.9 # Copyright 1999-2014 Gentoo Foundation
2 eras 1.1 # Distributed under the terms of the GNU General Public License v2
3 jer 1.10 # $Header: /var/cvsroot/gentoo-x86/net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild,v 1.9 2014/03/01 22:22:40 mgorny Exp $
4 eras 1.1
5     EAPI="4"
6    
7     inherit autotools eutils
8    
9     DESCRIPTION="The GNU SASL library"
10     HOMEPAGE="http://www.gnu.org/software/gsasl/"
11     SRC_URI="mirror://gnu/${PN/lib}/${P}.tar.gz"
12     LICENSE="GPL-3 LGPL-3"
13     SLOT="0"
14 jer 1.10 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
15 eras 1.1 IUSE="idn gcrypt kerberos nls ntlm static-libs"
16     DEPEND="
17 mgorny 1.9 gcrypt? ( dev-libs/libgcrypt:0 )
18 eras 1.1 idn? ( net-dns/libidn )
19     kerberos? ( virtual/krb5 )
20     nls? ( >=sys-devel/gettext-0.18.1 )
21     ntlm? ( net-libs/libntlm )
22     "
23     RDEPEND="${DEPEND}
24     !net-misc/gsasl"
25    
26     src_prepare() {
27     epatch "${FILESDIR}/${PN}-gss-extra.patch"
28     sed -i -e 's/ -Werror//' configure.ac || die
29     eautoreconf
30     }
31    
32     src_configure() {
33     local krb5_impl
34     if use kerberos; then
35     krb5_impl="--with-gssapi-impl="
36     krb5_impl+=$(has_version app-crypt/mit-krb5 && echo "mit" || echo "heimdal")
37     fi
38     econf \
39     $(use_with gcrypt libgcrypt) \
40     $(use_with idn stringprep) \
41     $(use_enable kerberos gssapi) \
42     ${krb5_impl} \
43     $(use_enable nls) \
44     $(use_enable ntlm) \
45     $(use_enable static-libs static)
46     }
47    
48     src_install() {
49     default
50    
51     if ! use static-libs; then
52     rm -f "${D}"/usr/lib*/lib*.la
53     fi
54     }

  ViewVC Help
Powered by ViewVC 1.1.20