summaryrefslogtreecommitdiff
blob: 1b55597c07851437768da90c9295a4060992bb49 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/lwp/lwp-2.1.ebuild,v 1.3 2006/10/18 04:57:42 tsunam Exp $

inherit multilib 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"

SLOT="1"
LICENSE="LGPL-2.1"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc x86"
IUSE=""

DEPEND="sys-apps/grep
	sys-apps/sed
	sys-devel/libtool
	sys-devel/gcc"

RDEPEND=""

QA_TEXTRELS="usr/$(get_libdir)/liblwp.so.2.0.5"

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
}

src_install() {
	einstall || die

	dodoc AUTHORS NEWS PORTING README
}