1 |
Hi All, |
2 |
|
3 |
I am not at all competent at modifying ebuilds. I am trying to emerge an |
4 |
ebuild locally for testing and I have two problems straight off the mark. |
5 |
|
6 |
a)How should I specify the URI for the source file if it is already copied |
7 |
into my /usr/portage/distfiles? |
8 |
|
9 |
b)Trying to create a manifest gives me errors: |
10 |
============================================================ |
11 |
# ebuild rtmpdump-1.2.ebuild manifest |
12 |
/usr/local/portage/media-libs/rtmpdump/rtmpdump-1.2.ebuild: line 34: |
13 |
unexpected EOF while looking for matching `"' |
14 |
/usr/local/portage/media-libs/rtmpdump/rtmpdump-1.2.ebuild: line 43: syntax |
15 |
error: unexpected end of file |
16 |
* |
17 |
* ERROR: media-libs/rtmpdump-1.2 failed. |
18 |
* Call stack: |
19 |
* ebuild.sh, line 1879: Called _source_ebuild |
20 |
* ebuild.sh, line 1818: Called die |
21 |
* The specific snippet of code: |
22 |
* source "${EBUILD}" || die "error sourcing ebuild" |
23 |
* The die message: |
24 |
* error sourcing ebuild |
25 |
============================================================ |
26 |
|
27 |
|
28 |
Line 34 is shown below: |
29 |
============================================================ |
30 |
rc_compile() { |
31 |
if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then |
32 |
econf |
33 |
fi |
34 |
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ] ; then |
35 |
emake || die "emake failed" <--this is line 34--> |
36 |
fi |
37 |
} |
38 |
============================================================ |
39 |
|
40 |
|
41 |
and this is line 42 (there is no line 43!): |
42 |
============================================================ |
43 |
src_install() { |
44 |
dobin rtmpdump |
45 |
dodoc README ChangeLog |
46 |
prepalldocs |
47 |
} <--this is line 42--> |
48 |
============================================================ |
49 |
|
50 |
Could you please hold my hand on this? |
51 |
-- |
52 |
Regards, |
53 |
Mick |