# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/sipsak/sipsak-0.9.6_p1.ebuild,v 1.8 2010/10/28 12:33:26 ssuominen Exp $ EAPI=2 inherit eutils DESCRIPTION="small command line tool for testing SIP applications and devices" HOMEPAGE="http://sipsak.org/" SRC_URI="mirror://berlios/sipsak/${P/_p/-}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64" IUSE="gnutls fasttimeout" RDEPEND="gnutls? ( net-libs/gnutls ) net-dns/c-ares" # ares? ( net-dns/c-ares )" DEPEND="${RDEPEND}" S=${WORKDIR}/${P/_p1} src_prepare() { if use fasttimeout; then cd "${S}" epatch ${FILESDIR}/${P}-faster-timeout.patch fi } src_configure() { econf \ $(use_enable gnutls) } src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README TODO }