summaryrefslogtreecommitdiff
blob: f37b47632b21dc21f47c9689c4cec66e38594b89 (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
# Copyright 1999-2012 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}"

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

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