summaryrefslogtreecommitdiff
blob: 2ce49fd56fe332d2fd2d0ac2d1ddce59aba0e194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit perl-module

MY_P="${P//-server}-server"
AUTHOR="PBOETTCH"
DESCRIPTION="A Perl SASL interface using the Cyrus SASL library (server version)"
HOMEPAGE="http://search.cpan.org/~pboettch/Authen-SASL-Cyrus/"
SRC_URI="mirror://cpan/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/${AUTHOR}/${MY_P}.tar.gz"

LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=dev-perl/Authen-SASL-2.06
	>=dev-libs/cyrus-sasl-2"
RDEPEND="${DEPEND}
	!dev-perl/Authen-SASL-Cyrus"

S="${WORKDIR}/${MY_P}"

SRC_TEST="do"
export OPTIMIZE="$CFLAGS"
myconf="INC=-I/usr/include/sasl LIBS=-lsasl2 DEFINE=-DSASL2"