blob: 9028efc5ac478082feeb7f0b43396369223115df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2013-2023 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.package import *
class AppleLibuuid(BundlePackage):
"""Placeholder package for Apple's analogue to non-GNU libuuid"""
homepage = "https://opensource.apple.com/tarballs/Libsystem/"
version("1353.100.2")
provides("uuid")
# Only supported on 'platform=darwin'
conflicts("platform=linux")
conflicts("platform=cray")
conflicts("platform=windows")
@property
def headers(self):
return HeaderList(
join_path(self.prefix, "System/Library/Frameworks/Kernel.framework/Headers")
)
@property
def libs(self):
return LibraryList(join_path(self.prefix, "System/Library/Frameworks/Kernel.framework"))
|