summaryrefslogtreecommitdiff
blob: be6f2a4ec274cc69c8a80694abff5a1486634c17 (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
28
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/lbdb/lbdb-0.28.ebuild,v 1.3 2004/05/30 08:30:50 robbat2 Exp $

IUSE="pda ldap"

MY_P=${P/-/_}
S=${WORKDIR}/${P}
DESCRIPTION="Little Brother database"
SRC_URI="http://www.spinnaker.de/debian/${MY_P}.tar.gz"
HOMEPAGE="http://www.spinnaker.de/lbdb.html"
DEPEND=">=mail-client/mutt-1.2.5"
SLOT="0"
KEYWORDS="~x86 ppc ~sparc"
LICENSE="GPL-2"
DEPEND="dev-lang/perl"
RDEPEND="pda? ( dev-perl/p5-Palm )
		 ldap? ( dev-perl/perl-ldap )"

src_compile() {
	econf --libdir=/usr/lib/lbdb || die
	emake || die
}

src_install () {
	make install_prefix=${D} install || die
	dodoc README INSTALL COPYING NEWS TODO
}