1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit toolchain-funcs versionator
7 DESCRIPTION="Ncurses DC++ client"
8 HOMEPAGE="http://sourceforge.net/projects/nanodc/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
13 KEYWORDS="~amd64 ~ppc ~x86"
16 RDEPEND="sys-libs/ncurses
18 >=dev-libs/libsigc++-2.0.0
19 >=dev-libs/glib-2.0.0"
24 BIGVERSION=nanodc-$(get_version_component_range 1-2 )
27 if [[[ gcc-major-version ] != 4 ]]; then
28 eerror "We need at least gcc-4.0 to compile"
34 cd "${WORKDIR}/${BIGVERSION}/trunk/src"
35 scons || die "scons failed!"
39 dobin "${WORKDIR}/${BIGVERSION}/trunk/src/nanodc"