Mailing List Archive

Getting a source tree
How do I use portage to just get and "leave" a copy of a source tree for an
installed package?

Thanks
David

--
gentoo-user@gentoo.org mailing list
Re: Getting a source tree [ In reply to ]
On Thursday 16 September 2004 11:53 pm, David Corbin wrote:
> How do I use portage to just get and "leave" a copy of a source tree for an
> insalled package?
>

man ebuild


Specifically, look at the 'fetch' and 'unpack' commands.


'ebuild <package> fetch' - will get the source tarball, into
'/usr/portage/distfiles'.

'ebuild <package> unpack' - will unpack the source tree into
'/var/tmp/portage/<package>/work/'.


Cheers,

Corey


--

"Everyone thinks of changing the world, but no one thinks of changing
himself."
- Leo Tolstoy



--
gentoo-user@gentoo.org mailing list
Re: Getting a source tree [ In reply to ]
quoth the David Corbin:
> How do I use portage to just get and "leave" a copy of a source tree for an
> installed package?
>
> Thanks
> David

I am not sure if that is directly possible but you can run "emerge -f
package' (--fetchonly) and portage will download the source tarball
to /usr/portage/distfiles

-d
--
Part of the problem since 1976
http://badcomputer.no-ip.com
Get my public key from
http://keyserver.linux.it/pks/lookup?op=index&search=bulliver
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
Re: Getting a source tree [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Darren Kirby wrote:
| quoth the David Corbin:
|
|>How do I use portage to just get and "leave" a copy of a source tree
for an
|>installed package?
|>
|>Thanks
|>David
|
|
| I am not sure if that is directly possible but you can run "emerge -f
| package' (--fetchonly) and portage will download the source tarball
| to /usr/portage/distfiles
|
| -d

Yes, it's possible via noclean in FEATURES. There's also keepwork and
keeptemp. Check out the make.conf manual page.

Cheers
- --
Smoking is one of the leading causes of statistics. -- Fletcher Knebel

/* Aaron Walker <ka0ttic@gentoo.org>
~ http://dev.gentoo.org/~ka0ttic/ */
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBSsAnC3poscuANHARAk9pAJ0cMenvnygG1ka5dbDUU4pwS/TPgQCgvxPe
nK7u6PO1JcoIIj1gnPJFE7k=
=W75+
-----END PGP SIGNATURE-----

--
gentoo-user@gentoo.org mailing list