diff options
Diffstat (limited to 'net-misc/capiisdnmon/capiisdnmon-0.42-r1.ebuild')
-rw-r--r-- | net-misc/capiisdnmon/capiisdnmon-0.42-r1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/capiisdnmon/capiisdnmon-0.42-r1.ebuild b/net-misc/capiisdnmon/capiisdnmon-0.42-r1.ebuild new file mode 100644 index 000000000000..e2c3ef36b3f1 --- /dev/null +++ b/net-misc/capiisdnmon/capiisdnmon-0.42-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/capiisdnmon/capiisdnmon-0.42-r1.ebuild,v 1.1 2005/08/18 21:35:04 genstef Exp $ + +inherit eutils + +DESCRIPTION="A Capi 2.0 Isdn CallMonitor with ldap name resolution" +HOMEPAGE="http://capiisdnmon.sourceforge.net/" +SRC_URI="mirror://sourceforge/capiisdnmon/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +DEPEND="net-dialup/capi4k-utils + net-nds/openldap + x11-libs/xosd + >=x11-libs/gtk+-2" + +src_unpack() { + unpack ${A} + cd "${S}" + + # apply CAPI V3 patch conditionally + grep 2>/dev/null -q CAPI_LIBRARY_V2 /usr/include/capiutils.h \ + && epatch "${FILESDIR}"/${P}-capiv3.patch +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + newicon icon1.xpm capiisdnmon.xpm + make_desktop_entry capiIsdnMon "CAPI ISDN Monitor" capiisdnmon.xpm +} |