summaryrefslogtreecommitdiff
blob: b5b8dff352e28e64dbc48b47752f7e3bd2dc0ca4 (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
29
30
31
32
33
34
35
36
37
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/getdata/getdata-0.6.3.ebuild,v 1.1 2010/09/13 16:25:29 ayoy Exp $

EAPI=2

DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered binary data"
HOMEPAGE="http://getdata.sourceforge.net/"
SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="bzip2 lzma python"

DEPEND="
	bzip2? ( app-arch/bzip2 )
	lzma? ( app-arch/xz-utils )
	python? ( dev-lang/python )"
RDEPEND="${DEPEND}"

src_configure() {
	local myconf="\
		--disable-idl \
		--without-libslim \
		--with-libz \
		--docdir=/usr/share/doc/${P} \
		$(use_enable python) \
		$(use_with bzip2 libbz2) \
		$(use_with lzma liblzma)"
	econf ${myconf} || die "econf failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "Install failed"
	dodoc AUTHORS ChangeLog NEWS README TODO || die "Installing docs failed"
}