root/gs2-extensions/afrepo/trunk/src/gs3-devel.sh @ 27255

Revision 27255, 0.8 KB (checked in by davidb, 8 years ago)

First cut as files for this extension

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3if [ -d cascade-make ] ; then
4  source cascade-make/lib/cascade-lib.bash GEXT_AFREPO . $*
5fi
6
7if [ -z $GEXT_AFREPO ] ; then
8  source gs3-setup.sh
9fi
10
11if [ -z $GEXTAFREPO_DEVEL ] ; then
12    # Set environment variable so we can tell devel.bash has been sourced
13    export GEXT_AFREPO_DEVEL=$GEXT_AFREPO
14   
15    export PATH="$GEXT_AFREPO_INSTALLED/bin:$PATH"
16    export CFLAGS="-I$GEXT_AFREPO_INSTALLED/include $CFLAGS"
17    export CPPFLAGS="-I$GEXT_AFREPO_INSTALLED/include $CPPFLAGS"
18    export CXXFLAGS="-I$GEXT_AFREPO_INSTALLED/include $CXXFLAGS"
19    export LDFLAGS="-L$GEXT_AFREPO_INSTALLED/lib $LDFLAGS"
20    export PKG_CONFIG_PATH="$GEXT_AFREPO_INSTALLED/lib/pkgconfig:$PKG_CONFIG_PATH"
21   
22    echo "+Your environment is now setup to compile afrepo"
23
24else
25    echo "+Your environment is already setup to compile afrepo"
26fi
Note: See TracBrowser for help on using the browser.