From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GA7lG-0001I9-2M for garchives@archives.gentoo.org; Mon, 07 Aug 2006 16:15:26 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k77GDYEo021314; Mon, 7 Aug 2006 16:13:34 GMT Received: from nikita (80-192-17-19.stb.ubr01.edin.blueyonder.co.uk [80.192.17.19]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k77GB8Fm018609 for ; Mon, 7 Aug 2006 16:11:09 GMT Received: from [192.168.10.3] ([::ffff:192.168.10.3]) by nikita with esmtp; Mon, 07 Aug 2006 17:11:10 +0100 id 0000DF95.44D7661E.000035E6 Subject: Re: [gentoo-dev] Beta versions should be slotable From: Edward Catmur To: gentoo-dev@lists.gentoo.org In-Reply-To: <44D753BC.3020800@gentoo.org> References: <7B97065F451A23458ED0C63B4CA5A2EA7C4A6C@SRV-EXCHANGE.AUTOonline.local> <44D74ED1.3090506@gentoo.org> <1154961663.20668.98.camel@capella.catmur.co.uk> <44D753BC.3020800@gentoo.org> Date: Mon, 07 Aug 2006 17:11:08 +0100 Message-Id: <1154967068.20668.121.camel@capella.catmur.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Mailer: Evolution 2.7.90 X-Archives-Salt: 3e17965e-4362-431a-b6a5-870c3be04e02 X-Archives-Hash: 90fec3ee3401e4756cd99c0dcecef330 On Mon, 2006-08-07 at 09:52 -0500, Andrew Gaffney wrote: > Edward Catmur wrote: > > Is it possible to get Portage (or ebuild) to build a package for > > installation into /opt? If not, how much work would that be? > > > > What would be great would be to have emerge --optinstall package, that > > installs the package into /opt/$PV and doesn't create a vdb entry... > > feasible? > > Possible, sure: > > emerge -B package > mkdir /opt/package > tar -C /opt/package -xjf /usr/portage/packages/All/package-ver.tar.bz2 Yeah, but the internals'd be screwy; hardcoded paths would point to the /-based locations. Maybe (in effect) passing --prefix=/opt/$P to configure? > Smart, not really. Using portage to install packages that are outside of > portage's control is kinda silly. If you want to do that, build it by hand or > use a pre-compiled package such as a RPM or DEB from the author's site. But using portage lets you use emerge's dependency resolution, build system (ccache, distcc, etc), plus Gentoo patches and other fixes. With a rpm or deb you don't have the faintest clue what you're getting... Ed -- gentoo-dev@gentoo.org mailing list