1 # Copyright 1999-2006 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="http://pouserinet.be/${P}.tar.gz"
12 KEYWORDS="~amd64 ~x86"
14 DEPEND="app-arch/bzip2
19 >=dev-libs/libsigc++-2.0.0
20 >=dev-libs/glib-2.0.0"
22 BIGVERSION=nanodc-$(get_version_component_range 1-2 )
25 if [[[ gcc-major-version ] != 4 ]]; then
26 eerror "We need at least gcc-4.0 to compile"
32 cd "${WORKDIR}/${BIGVERSION}/trunk/src"
33 scons || die "scons failed!"
37 dobin "${WORKDIR}/${BIGVERSION}/trunk/src/nanodc"