Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
graphicsframework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Oliver Behnke
graphicsframework
Commits
3317e71a
Commit
3317e71a
authored
17 years ago
by
Oliver Bock
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit of the upcoming build script
parent
80a605c9
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.sh
+74
-0
74 additions, 0 deletions
setup.sh
with
74 additions
and
0 deletions
setup.sh
0 → 100755
+
74
−
0
View file @
3317e71a
#!/bin/sh
ROOT
=
`
pwd
`
DATE
=
`
date
`
echo
"************************************"
>>
setup.log
echo
"Starting new setup run!"
>>
setup.log
echo
"
$DATE
"
>>
setup.log
echo
"************************************"
>>
setup.log
# prepare tree structure
echo
"Preparing source tree..."
|
tee
-a
setup.log
mkdir
-p
lib/sdl
>>
setup.log
mkdir
-p
lib/freetype2
>>
setup.log
mkdir
-p
lib/oglft
>>
setup.log
mkdir
-p
lib/boinc
>>
setup.log
echo
"Preparing build tree..."
|
tee
-a
setup.log
mkdir
-p
build/sdl
>>
setup.log
mkdir
-p
build/freetype2
>>
setup.log
mkdir
-p
build/oglft
>>
setup.log
mkdir
-p
build/boinc
>>
setup.log
echo
"Preparing install tree..."
|
tee
-a
setup.log
mkdir
-p
install
/sdl
>>
setup.log
mkdir
-p
install
/freetype2
>>
setup.log
mkdir
-p
install
/oglft
>>
setup.log
mkdir
-p
install
/boinc
>>
setup.log
# prepare additional sources
cd
$ROOT
cd
lib/sdl
if
[
-d
.svn
]
;
then
echo
"Updating SDL..."
|
tee
-a
../../setup.log
svn update
>>
../../setup.log
else
echo
"Retrieving SDL..."
|
tee
-a
../../setup.log
svn checkout http://svn.libsdl.org/branches/SDL-1.2
.
>>
../../setup.log
fi
cd
$ROOT
cd
lib/freetype2
if
[
-d
CVS
]
;
then
echo
"Updating Freetype2..."
|
tee
-a
../../setup.log
cvs update
>>
../../setup.log 2>&1
else
cd
..
echo
"Retrieving Freetype2..."
|
tee
-a
../setup.log
cvs
-d
:pserver:anonymous@cvs.sv.gnu.org:/sources/freetype checkout
-r
VER-2-3-5-REAL freetype2
>>
../setup.log 2>&1
fi
cd
$ROOT
cd
lib/oglft
if
[
-d
.svn
]
;
then
echo
"Updating OGLFT..."
|
tee
-a
../../setup.log
svn update
>>
../../setup.log
else
echo
"Retrieving OGLFT..."
|
tee
-a
../../setup.log
svn checkout https://oglft.svn.sourceforge.net/svnroot/oglft/trunk
.
>>
../../setup.log
fi
cd
$ROOT
cd
lib/boinc
if
[
-d
.svn
]
;
then
echo
"Updating BOINC..."
|
tee
-a
../../setup.log
svn update
>>
../../setup.log
else
echo
"Retrieving BOINC..."
|
tee
-a
../../setup.log
svn checkout http://boinc.berkeley.edu/svn/trunk/boinc
.
>>
../../setup.log
fi
# build additional sources
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment