sni / thruk_libs

easy build thruk perl dependencies
4 stars 4 forks source link

Thruk Libraries

This repository contains all required perl modules to run Thruk.

Installation

  1. cd /tmp
  2. git clone git://github.com/sni/thruk_libs.git
  3. cd /tmp/thruk_libs
  4. make [build|rpm|deb]

You now have a local-lib/dest/ with all required perl modules. Move local-lib/dest/lib/perl5 to the desired location and let the PERL5LIB environment variable point to that folder.

ex.:

PERL5LIB=lib:/tmp/thruk_libs/local-lib/dest/lib/perl5 ./script/thruk

Updating

  1. adding new modules use the download_package.sh script to download new modules from cpan. ex.: ./download_package.sh Module::Install you have to add the tarball in the right order to the Makefile.

  2. updating modules use the update_modules.sh script to check for updates ex.: ./update_modules.sh Module-Install-1.00.tar.gz The Makefile will be updated automatically but you are responsible for removing old modules from the git repository.