Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tarball sources question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
chy1013m1
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2006
Posts: 76

PostPosted: Tue Sep 19, 2006 2:34 pm    Post subject: tarball sources question Reply with quote

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
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Tue Sep 19, 2006 2:44 pm    Post subject: Reply with quote

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
Code:
emerge myapp


Last edited by Voltago on Tue Sep 19, 2006 2:48 pm; edited 2 times in total
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Tue Sep 19, 2006 2:46 pm    Post subject: Re: tarball sources question Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum