public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] [OT] Help tweaking an ebuild
Date: Sun, 12 Jul 2009 13:59:33 +0100	[thread overview]
Message-ID: <200907121359.44502.michaelkintzios@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1771 bytes --]

Hi All,

I am not at all competent at modifying ebuilds.  I am trying to emerge an 
ebuild locally for testing and I have two problems straight off the mark.

a)How should I specify the URI for the source file if it is already copied 
into my /usr/portage/distfiles?

b)Trying to create a manifest gives me errors:
============================================================
# ebuild rtmpdump-1.2.ebuild manifest
/usr/local/portage/media-libs/rtmpdump/rtmpdump-1.2.ebuild: line 34: 
unexpected EOF while looking for matching `"'
/usr/local/portage/media-libs/rtmpdump/rtmpdump-1.2.ebuild: line 43: syntax 
error: unexpected end of file
 * 
 * ERROR: media-libs/rtmpdump-1.2 failed.
 * Call stack:
 *               ebuild.sh, line 1879:  Called _source_ebuild
 *               ebuild.sh, line 1818:  Called die
 * The specific snippet of code:
 *      source "${EBUILD}" || die "error sourcing ebuild"
 *  The die message:
 *   error sourcing ebuild
============================================================


Line 34 is shown below:
============================================================
rc_compile() {
    if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
        econf
    fi
    if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ] ; then
        emake || die "emake failed"   <--this is line 34-->
    fi
}
============================================================


and this is line 42 (there is no line 43!):
============================================================
src_install() {
    dobin rtmpdump
    dodoc README ChangeLog
    prepalldocs
}				<--this is line 42-->
============================================================

Could you please hold my hand on this?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2009-07-12 12:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-12 12:59 Mick [this message]
2009-07-12 13:28 ` [gentoo-user] [OT] Help tweaking an ebuild Arttu V.
2009-07-12 13:46   ` Mick
2009-07-12 13:29 ` Alan McKinnon

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=200907121359.44502.michaelkintzios@gmail.com \
    --to=michaelkintzios@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