# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.72.ebuild,v 1.2 2003/01/03 19:05:12 drobbins Exp $ IUSE="" S="${WORKDIR}/${P}" DESCRIPTION="Libraries and utilities to handle compiled objects. This should be a drop in replacement for libelf." SRC_URI="mirror://gentoo/${P}.tar.gz" HOMEPAGE="http://www.redhat.com/" LICENSE="OpenSoftware" SLOT="0" KEYWORDS="~x86 ~sparc ~ppc ~alpha" DEPEND="virtual/glibc !dev-libs/libelf" src_compile() { # apply patch to remove -Werror cd ${S} patch -p1 < ${FILESDIR}/${P}-no_Werror-gentoo.diff econf --program-prefix="eu-" \ --enable-shared || die "./configure failed" emake || die } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS COPYING ChangeLog NEWS NOTES README THANKS TODO }