View previous topic :: View next topic |
Author |
Message |
chy1013m1 Tux's lil' helper
Joined: 12 Jul 2006 Posts: 76
|
Posted: Tue Sep 19, 2006 2:34 pm Post subject: tarball sources question |
|
|
Hi, is it possible to use portage to install (or record installation path) tarball sources? Many tarballs came with a ./configure script, but few come with make target 'uninstall'
what do you guys do when installing/uninstalling some tarballed program?
thanks _________________ HP nc8000 |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Tue Sep 19, 2006 2:44 pm Post subject: |
|
|
First, I look if the software in question is already in portage. Then, I look for an open bug at bugs.gentoo.org, perhaps someone created an ebuild already. The last resort is to create an ebuild myself:
Code: | mkdir -p /path/to/overlay/my-category/myapp/
vim /path/to/overlay/my-category/myapp/myapp-version.ebuild |
You will notice that vim creates a new ebuild from a template. If your software in question is autotooled and all you have to do to install it is
Code: | ./configure
make
make install |
then filling in some of the environment variables (only SRC_URI, really) will be enough. Download the source and create a digest with
Code: | emerge -f --digest myapp |
and install with
Last edited by Voltago on Tue Sep 19, 2006 2:48 pm; edited 2 times in total |
|
Back to top |
|
|
jonnevers Veteran
Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Tue Sep 19, 2006 2:46 pm Post subject: Re: tarball sources question |
|
|
chy1013m1 wrote: | Hi, is it possible to use portage to install (or record installation path) tarball sources? Many tarballs came with a ./configure script, but few come with make target 'uninstall'
what do you guys do when installing/uninstalling some tarballed program?
thanks |
if the package is not already in portage. you either need to manage the installation manually or
create a basic ebuild for the new package, put that ebuild in your overlay, and use portage to emerge the newly created ebuild. |
|
Back to top |
|
|
|