summaryrefslogtreecommitdiff
blob: 723fa48f146b9d717b198f7ef04bc7f86388e595 (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libhoard/libhoard-2.1.0.ebuild,v 1.1 2002/06/10 02:06:51 rphillips Exp $

DESCRIPTION="A fast, scalable and memory-efficient allocator for multiprocessors"
HOMEPAGE="http://www.hoard.org/"
LICENSE="LGPL-2.1"
DEPEND="virtual/glibc"
SRC_URI="${HOMEPAGE}/${P}.tar.gz"

src_compile() {
	# update libtool
	libtoolize --copy --force

	# enable the GNU extensions
	export CPPFLAGS=-D_GNU_SOURCE

	econf || die "./configure failed"
	emake || die "compilation failed"
}

src_install () {
	make DESTDIR=${D} install || die
	dodoc NEWS README docs/*
}