diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-05-10 11:13:19 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-05-10 11:13:19 +0200 |
commit | 9eee71edf784cbbe0a3772bdbf634f0df6133240 (patch) | |
tree | 16e76e091dc181fa0071a10d66abea8ddc751f58 /var/spack/repos/builtin/packages/intltool/package.py | |
parent | 67a01ef2ee182697df49f808654cf17f0e164b4a (diff) | |
parent | 42edb6840ebcccb5b3d421c0b749333a6754d4a1 (diff) | |
download | spack-9eee71edf784cbbe0a3772bdbf634f0df6133240.tar.gz spack-9eee71edf784cbbe0a3772bdbf634f0df6133240.tar.bz2 spack-9eee71edf784cbbe0a3772bdbf634f0df6133240.tar.xz spack-9eee71edf784cbbe0a3772bdbf634f0df6133240.zip |
Merge branch 'develop' of https://github.com/LLNL/spack into features/custom_modulefile_from_config
Diffstat (limited to 'var/spack/repos/builtin/packages/intltool/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/intltool/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/intltool/package.py b/var/spack/repos/builtin/packages/intltool/package.py new file mode 100644 index 0000000000..9b3c095378 --- /dev/null +++ b/var/spack/repos/builtin/packages/intltool/package.py @@ -0,0 +1,19 @@ +from spack import * + +class Intltool(Package): + """intltool is a set of tools to centralize translation of many different file formats using GNU gettext-compatible PO files.""" + homepage = 'https://freedesktop.org/wiki/Software/intltool/' + + version('0.51.0', '12e517cac2b57a0121cda351570f1e63') + + def url_for_version(self, version): + """Handle version-based custom URLs.""" + return 'https://launchpad.net/intltool/trunk/%s/+download/intltool-%s.tar.gz' % (version, version) + + def install(self, spec, prefix): + + # configure, build, install: + options = ['--prefix=%s' % prefix ] + configure(*options) + make() + make('install') |