Zac Medico wrote:
Maybe you can configure the build so that it won't write outside of the sandbox. If you post your ebuild then we might be able to help.

Here it is:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils cvs

DESCRIPTION="A gtk port of DC++, using the unmodified DC++ core"
HOMEPAGE="linuxdcpp.berlios.de"
SRC_URI=""

LICENSE="GPL"
SLOT="0"
KEYWORDS="x86"
IUSE=""

RDEPEND="virtual/x11
        >=x11-libs/gtk+-2.4.0
        >=gnome-base/libglade-2.4.0
        sys-libs/zlib"

# Haven't found where these live yet
# pthread
# libbz2

DEPEND="${RDEPEND}
        dev-util/scons
        >=sys-devel/gcc-3.4.0"


ECVS_SERVER="cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp"
ECVS_MODULE="linuxdcpp"

S="${WORKDIR}/linuxdcpp"

src_unpack() {
        cvs_src_unpack
}

src_compile() {
# Waring message "borrowed" from the enlightenment.eclass
# by [EMAIL PROTECTED]
        eerror "This is a LIVE CVS ebuild."
        eerror "That means there are NO promises it will work."
        eerror "If it fails to build, FIX THE CODE YOURSELF"
        eerror "before reporting any issues."

        scons release=1 || die "scons failed"
}

src_install() {
        INTO="/usr/local/lib/dcpp"
        exeinto ${INTO}/
        doexe dcpp || die "Couldn't copy the binary"
#       docsinto ${INTO}
        dodoc *.txt
        insinto ${INTO}/pixmaps/
        doins pixmaps/* || die "Couldn't copy the icons"
        insinto ${INTO}/glade/
        doins glade/* || die
        dodir /usr/local/bin
        dosym ${INTO}/dcpp /usr/local/bin/dcpp
}


--
Naga
--
gentoo-user@gentoo.org mailing list

Reply via email to