# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-libs/lwp/lwp-2.6.ebuild,v 1.2 2010/06/21 22:35:41 vapier Exp $ inherit eutils DESCRIPTION="Light weight process library (used by Coda). This is NOT libwww-perl." HOMEPAGE="http://www.coda.cs.cmu.edu/" SRC_URI="http://www.coda.cs.cmu.edu/pub/lwp/src/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="1" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="" src_unpack() { unpack ${A} cd "${S}" # Was introduced for bug #34542, not sure if still needed use amd64 && epatch "${FILESDIR}"/lwp-2.0-amd64.patch epatch "${FILESDIR}"/lwp-2.6-fortify.patch } src_install() { emake install DESTDIR="${D}" || die dodoc AUTHORS NEWS PORTING README }