summaryrefslogtreecommitdiff
blob: 12e37d1634a468472f4a66eed5dba28a7a901953 (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/libosip/libosip-2.0.6.ebuild,v 1.4 2004/07/15 01:10:57 agriffis Exp $

IUSE="debug"

DESCRIPTION="GNU oSIP (Open SIP) library version 2"
HOMEPAGE="http://www.gnu.org/software/osip/"
SRC_URI="http://osip.atosc.org/download/osip/libosip2-${PV}.tar.gz"
S="${WORKDIR}/libosip2-${PV}"

SLOT="2"
KEYWORDS="~x86"
LICENSE="LGPL-2"

DEPEND="virtual/libc
	dev-util/gperf"

src_compile() {
	local myconf

	myconf="--enable-gperf --enable-mt --enable-md5"

	use debug && \
		myconf="${myconf} --enable-debug"

	econf ${myconf} || die
	emake || die
}

src_install() {
	einstall || die
	dodoc README ChangeLog INSTALL AUTHORS COPYING NEWS BUGS TODO
}