summaryrefslogtreecommitdiff
blob: 0b89188cda5368681b99bab0484836bc4d7b4b88 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/efence/efence-2.2.2.ebuild,v 1.7 2002/10/04 20:58:58 vapier Exp $

MY_P="ElectricFence-${PV}"
S=${WORKDIR}/${MY_P}
DESCRIPTION="malloc() debugger for Linux and Unix."
SRC_URI="ftp://ftp.perens.com/pub/ElectricFence/Beta/${MY_P}.tar.gz"
HOMEPAGE="http://perens.com/FreeSoftware/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc sparc64"

DEPEND="virtual/glibc"

src_compile() {
	emake || die
}

src_install () {
	dodir /usr/bin
	dodir /usr/lib
	dodir /usr/share/man/man3

	make \
		BIN_INSTALL_DIR=${D}/usr/bin \
		LIB_INSTALL_DIR=${D}/usr/lib \
		MAN_INSTALL_DIR=${D}/usr/share/man/man3 \
		install || die

	dodoc CHANGES COPYING README
}