summaryrefslogtreecommitdiff
blob: 29fa0a463152c13d6495ba979b6b20b56224e8d9 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/judy/judy-1.0.3.ebuild,v 1.1 2006/04/12 14:23:11 twp Exp $

inherit eutils libtool

MY_P=Judy-${PV}
DESCRIPTION="A C library that implements a dynamic array"
HOMEPAGE="http://judy.sourceforge.net/"
SRC_URI="mirror://sourceforge/judy/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc ~sparc"
IUSE=""
S=${WORKDIR}/${MY_P}

src_compile() {
	elibtoolize
	if ( use amd64 || use ia64 || use ppc64 ); then
		econf --enable-64-bit
	else
		econf --enable-32-bit
	fi
	make || die
}

src_install() {
	make DESTDIR=${D} install || die
}