public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-user] [OT] Help tweaking an ebuild
@ 2009-07-12 12:59 99% Mick
  0 siblings, 0 replies; 1+ results
From: Mick @ 2009-07-12 12:59 UTC (permalink / raw
  To: gentoo-user

[-- 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 --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-07-12 12:59 99% [gentoo-user] [OT] Help tweaking an ebuild Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox