summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ossp-uuid/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/ossp-uuid/package.py')
-rw-r--r--var/spack/repos/builtin/packages/ossp-uuid/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ossp-uuid/package.py b/var/spack/repos/builtin/packages/ossp-uuid/package.py
new file mode 100644
index 0000000000..635efe8d46
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ossp-uuid/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2020 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 OsspUuid(AutotoolsPackage):
+ """OSSP uuid is a ISO-C:1999 application programming interface (API) and
+ corresponding command line interface (CLI) for the generation of DCE 1.1,
+ ISO/IEC 11578:1996 and RFC 4122 compliant Universally Unique Identifier
+ (UUID)."""
+
+ homepage = "http://www.ossp.org/pkg/lib/uuid"
+ url = "http://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz"
+
+ version('1.6.2', sha256='11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0')
+
+ provides('uuid')
+
+ @property
+ def libs(self):
+ return find_libraries('libuuid', self.prefix, recursive=True)
+
+ @property
+ def headers(self):
+ return find_headers('uuid', self.prefix, recursive=True)