blob: 2f9e055f9b4beb58b3d0cd071889d849f97f8ddb (
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
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/prelink-20021002-r1.ebuild,v 1.6 2003/04/13 10:35:30 cretin Exp $
IUSE=""
inherit eutils
S=${WORKDIR}/${PN}
DESCRIPTION="Modifies executables so runtime libraries load faster"
SRC_URI="ftp://people.redhat.com/jakub/prelink/${P}.tar.bz2"
HOMEPAGE="ftp://people.redhat.com/jakub/prelink"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc ppc alpha"
DEPEND=">=dev-libs/libelf-0.8
>=sys-libs/glibc-2.3.1
>=sys-devel/binutils-2.13.90.0.10"
src_unpack() {
unpack ${A}
cd ${S}; epatch ${FILESDIR}/${PN}-no-undosyslibs-test.patch
epatch ${FILESDIR}/${P}-copyreloc.patch
}
src_compile() {
econf || die "Configure failed"
emake || die "Make Failed"
LD_PRELOAD_SAVE=${LD_PRELOAD}
unset LD_PRELOAD
make check || die "make check failed"
export LD_PRELOAD=${LD_PRELOAD_SAVE}
}
src_install() {
einstall || die "Install Failed"
dodoc INSTALL TODO ChangeLog THANKS COPYING README AUTHORS NEWS
insinto /etc
doins ${S}/doc/prelink.conf
}
|