blob: 78fea230cc4e32ad9a250306df459177e14cba67 (
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
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-util/objprelink/objprelink-0-r1.ebuild,v 1.2 2001/10/03 22:20:18 danarmak Exp $
S=${WORKDIR}
SRC_URI="http://www.research.att.com/~leonb/objprelink/objprelink.c.gz
http://www.research.att.com/~leonb/objprelink/kde-admin-acinclude.patch"
HOMEPAGE="http://www.research.att.com/~leonb/objprelink/"
DESCRIPTION="Better startup times via smarter relocations. Used by qt&kde if USE objprelink is enabled."
DEPEND="sys-devel/gcc sys-devel/binutils"
src_unpack() {
gzip -d < ${DISTDIR}/objprelink.c.gz > objprelink.c || die
}
src_compile() {
gcc ${CFLAGS} -o objprelink objprelink.c /usr/lib/libbfd.a /usr/lib/libiberty.a || die
}
src_install () {
into /usr
dobin objprelink
insinto /usr/share/objprelink
doins ${DISTDIR}/kde-admin-acinclude.patch
}
|