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=1.0 required=5.0 tests=DATE_IN_PAST_12_24, DKIM_ADSP_NXDOMAIN,DMARC_MISSING,INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from chiba.3jane.net ([207.170.82.202] ident=root) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15ONX9-0001Zw-00 for gentoo-dev@cvs.gentoo.org; Sun, 22 Jul 2001 12:00:52 -0600 Received: from chiba (damon@localhost [127.0.0.1]) by chiba.3jane.net (8.11.2/8.11.1) with ESMTP id f6MI1Au50947 for ; Sun, 22 Jul 2001 13:01:10 -0500 (CDT) (envelope-from damon@chiba.3jane.net) Message-Id: <200107221801.f6MI1Au50947@chiba.3jane.net> To: gentoo-dev@cvs.gentoo.org Subject: Re: [gentoo-dev] ebuild for xbatt In-reply-to: <20010721174916.A712@cvs.gentoo.org> References: <200107212331.f6LNVNu44437@chiba.3jane.net> <20010721174916.A712@cvs.gentoo.org> Comments: In-reply-to Daniel Robbins message dated "Sat, 21 Jul 2001 17:49:16 -0600." From: "Damon M. Conway" 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: Sun Jul 22 12:01:02 2001 X-Original-Date: Sun, 22 Jul 2001 13:01:10 -0500 X-Archives-Salt: 2ee46b3d-13ce-4e4a-8de8-c14341817dfe X-Archives-Hash: 9b485e92431385c17724342729a7cbaf >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. Allright, here's an updated ebuild for xbatt. Damon -- "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." --Doug Gwyn # Copyright 2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Damon Conway A=${P}.tar.gz S=${WORKDIR}/${P} DESCRIPTION="Notebook battery indicataor for X" SRC_URI="http://www.clave.gr.jp/~eto/xbatt/${A}" HOMEPAGE="" DEPEND="virtual/x11" src_compile() { try xmkmf try make } src_install () { try make DESTDIR=${D} install }