If you haven't already check out man ebuild and man 5 ebuild. I use man ebuild install to do everything except actually install a package and that lets me test the install process without whacking my working app. You can also set some variables in /etc/make.conf that leave what ebuild does behind so you can check things out and see what it did. Very nice for troubleshooting.
> > From: "Roy Kidder" <[EMAIL PROTECTED]> > Date: 2004/01/12 Mon AM 08:15:33 EST > To: [EMAIL PROTECTED] > Subject: Re: Re: [gentoo-user] ebuild file help > > Yeah, I've got the PORTDIR_OVERLAY working for an app that doesn't appear > in the "regular" tree. Next project is to get one working to override one > that does (ie gaim, which is a few revisions behind). > > Thanks for the help! > > [EMAIL PROTECTED] said: > > You're welcome. You can use the PORTDIR_OVERLAY for ebuilds you modify > > or do yourself, too. > > > > Have fun. > > > >> > >> From: "Roy Kidder" <[EMAIL PROTECTED]> > >> Date: 2004/01/12 Mon AM 08:02:09 EST > >> To: [EMAIL PROTECTED] > >> Subject: Re: Re: [gentoo-user] ebuild file help > >> > >> Got it. Thanks for the help! > >> > >> [EMAIL PROTECTED] said: > >> > You only need the structure for you package. > >> > > >> > /usr/local/portage/categoy/appname > >> > > >> > where category is a category such as net-fs and appname is a > >> directory > >> > with the name of the app. For xine it would be > >> > > >> > /usr/local/portage/media-libs/xine > >> > > >> > In the appname directory put the ebuild. Then create a files > >> directory > >> > in appname and run ebuild packagename digest. > >> > > >> > > >> >> > >> >> From: "Roy Kidder" <[EMAIL PROTECTED]> > >> >> Date: 2004/01/11 Sun PM 11:05:17 EST > >> >> To: [EMAIL PROTECTED] > >> >> Subject: Re: [gentoo-user] ebuild file help > >> >> > >> >> I uncommented the PORTDIR_OVERLAY variable in /etc/make.conf, > >> leaving > >> >> it > >> >> at the default /usr/local/portage, which I created. I'm not sure > >> what > >> >> part of the directory structure from /usr/portage I should duplicate > >> in > >> >> /usr/local/portage however. /usr/portage is ~1.5G in size. I'm also > >> >> not > >> >> sure how to create a digest for the .ebuild file. > >> >> > >> >> Thanks, > >> >> Roy > >> >> > >> >> > >> >> > >> >> Brett I. Holcomb said: > >> >> > Check out the ebuild docs at Gentoo's web site to get some > >> >> information > >> >> > about ebuilds. > >> >> > > >> >> > I activate the PORTDIR_OVERLAY variable in /etc/make.conf, create > >> the > >> >> > directory (default is /usr/local/portage) and create a directory > >> >> > structure just like /usr/portage has for the program I want to > >> >> install. > >> >> > Put the ebuild in there, create a digest for it and emerge it. > >> >> Use > >> >> > emerge -p to see what problems you might run into and what it > >> might > >> >> need > >> >> > to install as dependencies before you install it. I also like to > >> >> look > >> >> > over the ebuild to see what's in it. > >> >> > > >> >> > > >> >> > > >> >> > Roy Kidder wrote: > >> >> >> I'm new to Gentoo (been using Linux for about 8 years) and I'm > >> >> trying > >> >> >> to > >> >> >> find my way around the ebuild/portage/emerge school of thought. > >> >> >> > >> >> >> I recently found a piece of software where the author supplies a > >> >> >> .ebuild > >> >> >> file. > >> >> >> > >> >> >> How can I install the software as a package using this .ebuild > >> file? > >> >> >> > >> >> >> Thanks in advance, > >> >> >> Roy > >> >> >> > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> [EMAIL PROTECTED] mailing list > >> >> >> > >> >> >> > >> >> > > >> >> > -- > >> >> > [EMAIL PROTECTED] mailing list > >> >> > > >> >> > >> >> > >> >> -- > >> >> [EMAIL PROTECTED] mailing list > >> >> > >> >> > >> > > >> > > >> > -- > >> > [EMAIL PROTECTED] mailing list > >> > > >> > >> > >> -- > >> [EMAIL PROTECTED] mailing list > >> > >> > > > > > > -- > > [EMAIL PROTECTED] mailing list > > > > > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
