/[gentoo-x86]/scripts/bootstrap-macos.sh
Gentoo

Contents of /scripts/bootstrap-macos.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download) (as text)
Sat Dec 30 20:36:33 2006 UTC (12 years, 8 months ago) by grobian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
File MIME type: text/x-sh
FILE REMOVED
Shove Darwin/OSX bootstrap scripts into the attic, this stuff is not
maintained/used any more, and is best out of sight.

1 #!/bin/bash
2 # Copyright 2004 The Gentoo Foundation, Pieter Van den Abeele
3 # Distributed under the terms of the GNU General Public License, v2
4 # $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap-macos.sh,v 1.9 2004/11/21 17:32:37 kito Exp $
5
6 # Make sure sudo passwd is asked for
7
8 sudo true
9
10 # Source functions to have colors and nice output
11
12 trap 'exit 1' TERM KILL INT QUIT ABRT
13
14 echo
15 echo -e "Gentoo for Mac OS X; http://www.gentoo.org/"
16 echo -e "Copyright 2004 The Gentoo Foundation ; Distributed under the GPL v2"
17 echo
18
19 NAME="Mac OS X"
20 RELEASE="10"
21
22 case "`uname -r`" in
23 6*)
24 # We don't really support this
25 NAME="Jaguar"
26 # We reuse the Panther profile
27 RELEASE="10.3"
28 ;;
29 7*)
30 NAME="Panther"
31 RELEASE="10.3"
32 ;;
33 8*)
34 NAME="Tiger"
35 RELEASE="10.4"
36 ;;
37 esac
38
39 sudo ln -sf /usr/portage/profiles/default-darwin/macos/${RELEASE} /etc/make.profile
40
41 # ebegin "Portage will attempt taming your ${NAME}"
42
43 function missing_devtools {
44 ewend 1
45 echo -e "Please install the ${NAME} developer tools (>1.1)"
46 echo
47 exit 1
48 }
49
50 gcc -v 2> /dev/null || missing_devtools
51
52 echo
53 echo -e "Portage successfully tamed your ${NAME}"

  ViewVC Help
Powered by ViewVC 1.1.20