40 lines
716 B
Bash
40 lines
716 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
inherit autotools eutils toolchain-funcs
|
|
|
|
DESCRIPTION="ncurses directconnect client"
|
|
HOMEPAGE="http://dev.yorhel.nl/ncdc"
|
|
SRC_URI="http://dev.yorhel.nl/download/${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ppc ~sparc x86"
|
|
IUSE="geoip"
|
|
|
|
RDEPEND="app-arch/bzip2
|
|
dev-db/sqlite:3
|
|
dev-libs/glib:2
|
|
net-libs/gnutls
|
|
sys-libs/ncurses:0[unicode]
|
|
sys-libs/zlib
|
|
geoip? ( dev-libs/geoip )"
|
|
DEPEND="${RDEPEND}
|
|
dev-util/makeheaders
|
|
virtual/pkgconfig"
|
|
|
|
src_prepare() {
|
|
epatch_user && eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
$(use_with geoip)
|
|
}
|
|
|
|
src_compile() {
|
|
emake AR="$(tc-getAR)"
|
|
}
|