Index: nanodc-0.3.3.ebuild =================================================================== --- nanodc-0.3.3.ebuild (revision 12218) +++ nanodc-0.3.3.ebuild (working copy) @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="4" +EAPI=4 -inherit toolchain-funcs versionator +inherit toolchain-funcs DESCRIPTION="Ncurses DC++ client" HOMEPAGE="http://sourceforge.net/projects/nanodc/" @@ -24,7 +24,7 @@ dev-util/scons dev-util/pkgconfig" -BIGVERSION=nanodc-$(get_version_component_range 1-2 ) +S=${WORKDIR}/${P/3.3/3}/trunk/src pkg_setup() { if [[[ gcc-major-version ] != 4 ]]; then @@ -34,10 +34,9 @@ } src_compile() { - cd "${WORKDIR}/${BIGVERSION}/trunk/src" scons || die "scons failed!" } src_install() { - dobin "${WORKDIR}/${BIGVERSION}/trunk/src/nanodc" + dobin ${PN} }