public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nagatoro <nagatoro@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [OT] Ebuild with scons and sandbox
Date: Tue, 16 Aug 2005 12:45:50 +0200	[thread overview]
Message-ID: <4301C3DE.6040402@gmail.com> (raw)
In-Reply-To: <4301BC92.7090509@gmail.com>

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 vapier@gentoo.org
         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	other threads:[~2005-08-16 10:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-16  9:57 [gentoo-user] [OT] Ebuild with scons and sandbox Nagatoro
2005-08-16 10:14 ` Zac Medico
2005-08-16 10:45   ` Nagatoro [this message]
2005-08-16 11:25     ` Zac Medico
2005-08-16 14:01       ` Nagatoro
2005-08-16 19:21         ` Zac Medico
2005-08-17 11:43 ` [gentoo-user] " Andreas Fredriksson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4301C3DE.6040402@gmail.com \
    --to=nagatoro@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox