mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
Added a simple little bash script to build qgis
git-svn-id: http://svn.osgeo.org/qgis/trunk@4411 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
950cb17e9c
commit
b5d9170fdb
16
build.sh
Executable file
16
build.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# A simple script to build QGIS
|
||||
# Tim Sutton 2005
|
||||
#
|
||||
if [ ! $1 ]
|
||||
then
|
||||
echo "Usage: ${0} install_prefix"
|
||||
echo "e.g."
|
||||
echo "${0} \$HOME/apps/"
|
||||
exit 1
|
||||
fi
|
||||
export QTDIR=/usr/local/Trolltech/Qt-4.1.0/
|
||||
export PATH=$QTDIR/bin:$PATH
|
||||
export LD_LIBRARY_PATH=$QTDIR/lib
|
||||
./autogen.sh --enable-debug --prefix=${1} --with-qtdir=$QTDIR --with-grass=/usr/lib/grass && make && sudo make install
|
Loading…
x
Reference in New Issue
Block a user