1 |
On 08/24/10 13:45:05, Robin Atwood wrote: |
2 |
> On Tuesday 24 August 2010, Helmut Jarausch wrote: |
3 |
> > Hi, |
4 |
> > |
5 |
> > I'd like to create an ebuild (in my local overlay) which refers to |
6 |
> a |
7 |
> > local distribution file. |
8 |
> > |
9 |
> > I've tried |
10 |
> > |
11 |
> > SRC_URI="file::///usr/local/Src/MyPack.tar.bz2" |
12 |
> > |
13 |
> > but "file://" doesn't seem to be supported. |
14 |
> > |
15 |
> > Is there any alternative? |
16 |
> > |
17 |
> > Thanks for a hint, |
18 |
> > Helmut. |
19 |
> > |
20 |
> > (I'm using portage-2.2._rc68) |
21 |
> |
22 |
> "ln -s /usr/local/Src/MyPack.tar.bz2 /usr/portage/distfiles" maybe? |
23 |
> |
24 |
> HTH |
25 |
> -Robin |
26 |
|
27 |
Hi, but what do I specify for SRC_URI |
28 |
|
29 |
I've tried |
30 |
SRC="MyPack-1.0.7.tar.gz" |
31 |
SLOT="0" |
32 |
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" |
33 |
IUSE="" |
34 |
S="$WORKDIR/${P}" |
35 |
src_unpack() { |
36 |
unpack "${A}" |
37 |
} |
38 |
|
39 |
But it fails saying "nothing specified for unpack" |
40 |
And, indeed, |
41 |
doing |
42 |
ebuild --debug <PATH_to_EBUILD> unpack |
43 |
shows that ${A} is the empty string. |
44 |
|
45 |
What am I missing? |
46 |
|
47 |
Thanks a lot, it drives me nuts, |
48 |
Helmut. |