...
TMineExt
...
is
...
a
...
home-grown
...
external
...
built
...
with
...
SCons.
...
RM
...
builds
...
it
...
just
...
as
...
it
...
builds
...
other
...
containers,
...
but
...
the
...
default
...
directory
...
structure
...
for
...
containers
...
doesn't
...
match
...
that
...
used
...
for
...
external
...
libraries.
...
Naming
...
conventions
...
also
...
differ.
...
A Recipe
Suppose we want to build an external from the release tag TMineExt-03-02-07.
...
Normal
...
set-up
...
has
...
been
...
done
...
so
...
that
...
scons
...
is
...
in
...
the
...
path
...
and
...
the
...
environment
...
variable
...
GLAST_EXT
...
is
...
set
...
appropriately
...
- cd
...
- to
...
- directory
...
- which
...
- will
...
- contain
...
- the
...
- build
...
- cvs
...
- co
...
- -d
...
- 3.2.7
...
- -r
...
- TMineExt-03-02-07
...
- TMineExt-scons
...
- cd
...
- 3.2.7
...
- scons
...
- --with-GLAST-EXT=
...
- $GLAST-EXT --compile-opt
...
- --variant=NONE
...
- --rm
...
- -k
...
- all
...
- >&
...
- build.log
...
- Examine
...
- build.log
...
- to
...
- make
...
- sure
...
- the
...
- build
...
- has
...
- succeeded
...
- cd
...
- ..
...
- tar
...
- -cfz
...
- TMineExt-3.2.7.tar.gz
...
- 3.2.7/lib
...
- 3.2.7/exe
...
- 3.2.7/bin
...
- 3.2.7/data
...
- 3.2.7/doc
...
- 3.2.7/include
...
- 3.2.7/lib
...
- 3.2.7/config.log
...
- 3.2.7/build.log