summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-22 12:38:34 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-22 12:38:34 -0700
commit4f44431900a82986e3f4110c9c53ede6ef5f102a (patch)
treef3a374c532466c84a1f359c4f016c0367d128053
parent20a00c4cdfe29a0975720dcd06449ebf4a1c3353 (diff)
parent5f68e14d3bd90e4a71f6366a328dcc97fc6e8a92 (diff)
downloadspack-4f44431900a82986e3f4110c9c53ede6ef5f102a.tar.gz
spack-4f44431900a82986e3f4110c9c53ede6ef5f102a.tar.bz2
spack-4f44431900a82986e3f4110c9c53ede6ef5f102a.tar.xz
spack-4f44431900a82986e3f4110c9c53ede6ef5f102a.zip
Merge pull request #606 from davydden/gettext
add gettext package
-rw-r--r--var/spack/repos/builtin/packages/gettext/package.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gettext/package.py b/var/spack/repos/builtin/packages/gettext/package.py
new file mode 100644
index 0000000000..05712d7392
--- /dev/null
+++ b/var/spack/repos/builtin/packages/gettext/package.py
@@ -0,0 +1,30 @@
+from spack import *
+
+class Gettext(Package):
+ """GNU internationalization (i18n) and localization (l10n) library."""
+ homepage = "https://www.gnu.org/software/gettext/"
+ url = "http://ftpmirror.gnu.org/gettext/gettext-0.19.7.tar.xz"
+
+ version('0.19.7', 'f81e50556da41b44c1d59ac93474dca5')
+
+ def install(self, spec, prefix):
+ options = ['--disable-dependency-tracking',
+ '--disable-silent-rules',
+ '--disable-debug',
+ '--prefix=%s' % prefix,
+ '--with-included-gettext',
+ '--with-included-glib',
+ '--with-included-libcroco',
+ '--with-included-libunistring',
+ '--with-emacs',
+ '--with-lispdir=%s/emacs/site-lisp/gettext' % prefix.share,
+ '--disable-java',
+ '--disable-csharp',
+ '--without-git', # Don't use VCS systems to create these archives
+ '--without-cvs',
+ '--without-xz']
+
+ configure(*options)
+
+ make()
+ make("install")