summaryrefslogtreecommitdiff
blob: 986ad52fbb450f3871a8e7e3a67858f4928093a8 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libopm/libopm-3.1.2.ebuild,v 1.3 2004/07/01 22:25:55 eradicator Exp $

DESCRIPTION="Blitzed Open Proxy Monitor Library"
HOMEPAGE="http://www.blitzed.org/bopm/"
SRC_URI="http://static.blitzed.org/www.blitzed.org/bopm/files/bopm-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

RDEPEND="virtual/libc"
DEPEND="${RDEPEND}
	doc? ( app-doc/doxygen )"

S="${WORKDIR}/bopm-${PV}/src/libopm"

src_compile() {
	econf || die "econf failed"
	emake || die "emake failed"

	if use doc ; then
		cd doc
		doxygen
	fi
}

src_install() {
	make install DESTDIR=${D} || die "install failed"

	dodoc doc/libopm-api.txt ChangeLog LICENSE
	use doc && dohtml doc/api/*
}