[GRASS-user] GRASS unofficial addon installation

Panagiotis Mavrogiorgos pmav99 at gmail.com
Thu Dec 31 08:59:00 PST 2015


Hi all,

What is the best way to install an "unofficial" GRASS addon i.e. one
not-hosted at the official SVN repository?

I just checked "g.extension
<https://trac.osgeo.org/grass/browser/grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.py>
-d" and AFAIK what you essentially need to do in order to install a
"single" extension (i.e. not a toolbox) is to checkout the repository and
issue make & make install with the correct arguments. I.e something like
this:

make \
    MODULE_TOPDIR=/usr/lib/grass70 \
    RUN_GISRC=/tmp/tmpXuk4Se \
    BIN=/checkout_dir/bin \
    HTMLDIR=/checkout_dir/docs/html \
    RESTDIR=/checkout_dir/docs/rest \
    MANBASEDIR=/checkout_dir/docs/man \
    SCRIPTDIR=/checkout_dir/script \
    STRINGDIR=/checkout_dir \
    ETC=/checkout_dir/etc

make \
    MODULE_TOPDIR=/usr/lib/grass70 \
    ARCH_DISTDIR=/checkout_dir \
    INST_DIR=/home/grassuser/.grass7/addons \
    install

Is this correct? Are there any caveats that I need to know about?

with kind regards,
Panos

PS, best wishes and a happy new year to everybody :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20151231/a56faa0b/attachment.html>


More information about the grass-user mailing list