1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit toolchain-funcs versionator
9 DESCRIPTION="Ncurses DC++ client"
10 HOMEPAGE="http://sourceforge.net/projects/nanodc/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~ppc ~x86"
27 BIGVERSION=nanodc-$(get_version_component_range 1-2 )
30 if [[[ gcc-major-version ] != 4 ]]; then
31 eerror "We need at least gcc-4.0 to compile"
37 cd "${WORKDIR}/${BIGVERSION}/trunk/src"
38 scons || die "scons failed!"
42 dobin "${WORKDIR}/${BIGVERSION}/trunk/src/nanodc"