source: trunk/base/portmgr/SETUP.chroot.sh @ 15338

Last change on this file since 15338 was 15338, checked in by jmpp, 15 years ago

Submitted by: jmpp@
Reviewed by: jberry@

The pormgr/ dir is now out of src/, as it doesn't have much to do with our sources.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 821 bytes
Line 
1# !/bin/sh
2
3# DarwinPorts chrooted automated build system setup.
4# kevin@opendarwin.org
5# 21-Feb-2003
6
7# This should be run as uid 0, gid 0 from within the chroot.
8
9# Set up some necessary environment variables.
10
11export PATH=/opt/local/bin:/usr/X11R6/bin:${PATH}
12export HOME=/Users/Shared
13export CVSROOT=:pserver:anoncvs@anoncvs.opendarwin.org:/Volumes/src/cvs/od
14
15export MACOSX_DEPLOYMENT_TARGET=10.2
16export UNAME_RELEASE=6.0
17
18# Update the copy of darwinports from cvs,
19# sync the ports tree, and re-index.
20
21cd $HOME/darwinports
22cvs update
23make
24make install
25port sync
26cd dports
27portindex
28
29# Start building ports
30mkdir -p /darwinports/distfiles
31mkdir -p /darwinports/logs
32mkdir -p /darwinports/pkgs
33mkdir -p /darwinports/mpkgs
34mkdir -p /darwinports/rpms
35
36cd $HOME/darwinports
37#tclsh base/src/portmgr/packageall.tcl
38
39bash
Note: See TracBrowser for help on using the repository browser.