# 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-20030902.ebuild,v 1.1 2003/09/24 16:26:23 cretin Exp $ IUSE="" inherit eutils S="${WORKDIR}/${PN}" DESCRIPTION="Modifies executables so runtime libraries load faster" SRC_URI="mirror://gentoo/${P}.tar.bz2" HOMEPAGE="ftp://people.redhat.com/jakub/prelink" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~ppc ~alpha" DEPEND=">=dev-libs/elfutils-0.84 !dev-libs/libelf >=sys-libs/glibc-2.3.1 >=sys-devel/binutils-2.13.90.0.10" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PN}-20030505-glibc231.patch } src_compile() { econf || die "Configure failed" emake || die "Make Failed" } src_install() { einstall || die "Install Failed" dodoc INSTALL TODO ChangeLog THANKS COPYING README AUTHORS NEWS insinto /etc doins ${S}/doc/prelink.conf }