summaryrefslogtreecommitdiff
blob: 467b303592a234b53ca7af3d8c36781adcf753e0 (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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/freecdb/freecdb-0.62.ebuild,v 1.16 2007/04/24 17:39:43 chtekk Exp $

KEYWORDS="alpha amd64 ppc ppc-macos sparc x86"

DESCRIPTION="A fast, reliable, simple package for creating and reading constant databases."
SRC_URI="mirror://debian/pool/main/f/freecdb//${P/-/_}.tar.gz"
HOMEPAGE="http://packages.qa.debian.org/f/freecdb.html"
LICENSE="public-domain"
SLOT="0"
IUSE=""

DEPEND="dev-lang/perl
		!dev-db/cdb
		!dev-db/tinycdb"
RDEPEND="${DEPEND}"

src_compile() {
	emake DESTDIR="${D}" || die "emake failed"
}

src_install() {
	dodir /usr/{lib,bin,include} /usr/share/man/man{1,3}
	make DESTDIR="${D}" install || die "make install failed"
	dodoc README
}