On Thursday 20 January 2005 16:11, Chris Gianelloni wrote: > On Thu, 2005-01-20 at 08:45 +0100, Alexander Mieland wrote: > > from where should the ebuild get the bash-source-tarball? > > shouldn't here also be a wget or something else? > > No. Add it to SRC_URI, just like any other tarball that you would > download.
Okay, this I've understood.
But what's with this "unpack" feature?
does the line
� unpack ${DISTFILES}/bash-3.0.tar.bz2
... all of this job? I mean the downloading from the mirrors to
${DISTFILES} and the unpacking?
I'm asking because I can't find this feature on my system. Neither as
binary in the $PATH, nor as eclass-function.
I only can find "unpack_pdv" and "unpack_makeself" as helper-functions.
As you can see in my attached ebuild, I've already the other parts
completed. I mean the configuring and compiling...
I only need this last information how to download the src-tarball from
the gentoo-mirrors.
> > okay, this looks very good. Thanks for this.
> > But would the other devs be satisfied with this?
> > Or would the whole discussion continue then at the beginning again?
>
> I don't think anyone would have a problem with it. It would make the
> ebuild self-contained, and it would require no special permissions to
> get its information.
Yeah, I hope so... ;)
> Of course, you don't have to use bash. That was just a suggestion.
> You could use basc-benchmark.c or whatever else you wanted.
Yes sure, but bash is small and don't need much time to compile. And it's
a package everybody knows.
btw. LFS uses bash to to calculate their SBU, so it can't be very
wrong. ;)
Btw. thanks for the help.
--
http://de.gentoo-wiki.com Alexander Mieland (aka dma147)
http://www.gentoo-stats.org Registered Linux-User #249600
http://www.php-programs.de GnuGPG-ID: 27491179
http://www.affen-in-not.de www.php-programs.de/dma147.asc
pgp2R3Rb2WadI.pgp
Description: PGP signature
