summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-07-21 14:11:21 +0200
committerGitHub <noreply@github.com>2021-07-21 14:11:21 +0200
commit669769c090c0e7203aecbaebf000a9e73b2c8643 (patch)
tree07e50d52f1ca85de67f2b9c7eb98ef92bfb92edf /var
parentcb53a9cc14aedb8b8d066599efd74d4dc6dbfd04 (diff)
downloadspack-669769c090c0e7203aecbaebf000a9e73b2c8643.tar.gz
spack-669769c090c0e7203aecbaebf000a9e73b2c8643.tar.bz2
spack-669769c090c0e7203aecbaebf000a9e73b2c8643.tar.xz
spack-669769c090c0e7203aecbaebf000a9e73b2c8643.zip
exempi: add new package (#24982)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/exempi/package.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/exempi/package.py b/var/spack/repos/builtin/packages/exempi/package.py
new file mode 100644
index 0000000000..4f1ddff54a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/exempi/package.py
@@ -0,0 +1,35 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Exempi(AutotoolsPackage):
+ """exempi is a port of Adobe XMP SDK to work on UNIX and to be build with
+ GNU automake.
+
+ It includes XMPCore and XMPFiles, libexempi, a C-based API and exempi
+ a command line tool.
+ """
+
+ homepage = "http://libopenraw.freedesktop.org/wiki/Exempi"
+ url = "https://libopenraw.freedesktop.org/download/exempi-2.5.2.tar.bz2"
+
+ version('2.5.2', sha256='52f54314aefd45945d47a6ecf4bd21f362e6467fa5d0538b0d45a06bc6eaaed5')
+
+ depends_on('zlib')
+ depends_on('iconv')
+ depends_on('boost@1.48.0:')
+ depends_on('pkgconfig')
+
+ conflicts('%gcc@:4.5')
+
+ def configure_args(self):
+ args = ['--with-boost={0}'.format(self.spec['boost'].prefix)]
+
+ if self.spec.satisfies('polatform=darwin'):
+ args += ['--with-darwinports', '--with-fink']
+
+ return args