You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.0 KiB
47 lines
1.0 KiB
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-misc/capiisdnmon/capiisdnmon-0.42-r2.ebuild,v 1.1 2015/03/05 07:49:33 pinkbyte Exp $
|
|
|
|
EAPI=5
|
|
|
|
inherit eutils flag-o-matic
|
|
|
|
DESCRIPTION="a CAPI 2.0 ISDN call monitor 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"
|
|
|
|
RDEPEND="net-dialup/capi4k-utils
|
|
net-nds/openldap
|
|
x11-libs/gtk+:2
|
|
x11-libs/libX11
|
|
x11-libs/xosd
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_prepare() {
|
|
epatch \
|
|
"${FILESDIR}/${P}-gcc44.patch" \
|
|
"${FILESDIR}/${P}-capiv3.patch"
|
|
|
|
append-cppflags -DLDAP_DEPRECATED
|
|
|
|
sed -i -e 's/capiIsdnMon:://' capiisdnmon.h || die
|
|
|
|
# Fix linking, bugs #370101 and #540672
|
|
append-libs -lX11 -llber
|
|
append-ldflags -pthread
|
|
|
|
epatch_user
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
newicon icon1.xpm capiisdnmon.xpm
|
|
make_desktop_entry capiIsdnMon "CAPI ISDN Monitor" capiisdnmon
|
|
}
|