public inbox for gentoo-osx@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-osx] [PREFIX] portage 2.1.11 bootstraping script
@ 2006-03-18  2:14 m h
  2006-03-18 17:04 ` Kito
  0 siblings, 1 reply; 3+ messages in thread
From: m h @ 2006-03-18  2:14 UTC (permalink / raw
  To: gentoo-osx

Folks

Here's my script for trying portage.  I'm running on RHEL4 and getting
the problems I've sent earlier.  If you've got a few minutes try it
out on your computer.  Let me know if it works for you ;)

#!/bin/sh

export PREFIX=/tmp/Mar17
#this directory has portage and the ebuild tree from the wiki
#unzipped here
#it also has a copy of the normal portage profiles in "normal-profiles"

export MYBASE=/home/spike/portage
export TREE=${MYBASE}/portage-alt-prefix
export PORTCODE=${MYBASE}/portage-prefix-2.1.11
GROUP=spike

cd $PORTCODE
#./configure --prefix=${PREFIX} --with-user=`whoami`
--with-group=${GROUP} --sysconfdir=${PREFIX}/etc
--with-rootuser=`whoami` --with-rootuid=`id -u`
--with-offset-prefix=${PREFIX}
./configure --prefix=${PREFIX}/usr --with-user=`whoami`
--with-group=${GROUP} --sysconfdir=${PREFIX}/etc
--with-rootuser=`whoami` --with-rootuid=`id -u`
--with-offset-prefix=${PREFIX} --with-wheelgroup=${GROUP}
--with-wheelgid=`id -g`
make
make install

cd ${PREFIX}
mkdir -p usr/portage
cp -r ${TREE}/* usr/portage

export PATH=${PREFIX}/usr/bin:${PREFIX}/usr/sbin:${PATH}

mkdir etc
cp ${PORTCODE}/cnf/make.conf etc/
#SET PREFIX in make.conf
#PREPEND PREFIX TO A FEW PLACES

mkdir -p ${PREFIX}/etc/portage


#end script

matt

-- 
gentoo-osx@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-20 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-18  2:14 [gentoo-osx] [PREFIX] portage 2.1.11 bootstraping script m h
2006-03-18 17:04 ` Kito
2006-03-20 18:39   ` m h

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox