blob: 266b9676984eb1cfafd7c74d2a6710c26a0f56fa (
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
38
39
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/efence/efence-2.4.13-r1.ebuild,v 1.5 2007/02/14 03:24:04 wolf31o2 Exp $
inherit eutils versionator toolchain-funcs
MY_P="${PN}_$(replace_all_version_separators '_')"
S="${WORKDIR}/${PN}"
DESCRIPTION="ElectricFence malloc() debugger"
HOMEPAGE="http://www.pf-lug.de/projekte/haya/efence.php"
SRC_URI="http://www.pf-lug.de/projekte/haya/${MY_P}.tar.gz"
RESTRICT="test"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 ~mips ~ppc ppc64 ~sparc x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
app-shells/bash"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gentoo.diff
}
src_compile() {
emake CC=$(tc-getCC) || die "emake failed"
}
src_install() {
make prefix="${D}"/usr install || die "make install failed"
insinto /usr/include
doins efence.h efencepp.h efence_config.h noefence.h \
|| die "failed to install headers"
dodoc CHANGES README
}
|