summaryrefslogtreecommitdiff
blob: 729be8ec4a358ae9b9a290b06b12e53ef88dbdf2 (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-2010 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"