From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DATE_IN_PAST_12_24, INVALID_DATE,MAILING_LIST_MULTI,NO_RELAYS autolearn=no autolearn_force=no version=4.0.0 Received: from drobbins by cvs.gentoo.org with local (Exim 3.30 #1) id 15O6Um-0000Bb-00 for gentoo-dev@cvs.gentoo.org; Sat, 21 Jul 2001 17:49:16 -0600 From: Daniel Robbins To: gentoo-dev@cvs.gentoo.org Subject: Re: [gentoo-dev] ebuild for xbatt Message-ID: <20010721174916.A712@cvs.gentoo.org> References: <200107212331.f6LNVNu44437@chiba.3jane.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200107212331.f6LNVNu44437@chiba.3jane.net>; from damon@chiba.3jane.net on Sat, Jul 21, 2001 at 06:31:23PM -0500 Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sat Jul 21 17:50:02 2001 X-Original-Date: Sat, 21 Jul 2001 17:49:16 -0600 X-Archives-Salt: ca6bc8b1-b1ae-4da9-8537-c87cc578eac2 X-Archives-Hash: 03575d63d3ccae01ef8bb796640835bc On Sat, Jul 21, 2001 at 06:31:23PM -0500, Damon M. Conway wrote: > Here is an ebuild for xbatt. It's a laptop battery status display for X. > I tested it on my system. This is my first ebuild, so any comments are > appreciated. > src_install () { > > try make install > > } This is incorrect. You need to get all files installed into ${D}, the Portage temporary directory, rather than install to the root filesystem directly. Look at any of our other ebuilds in the Portage tree for examples of how to do this; basically, you study the Makefile and see if you can override DESTDIR or prefix to redirect the install somewhere else. Best Regards, -- Daniel Robbins President/CEO http://www.gentoo.org Gentoo Technologies, Inc.