21 lines
558 B
Plaintext
21 lines
558 B
Plaintext
# Description: Vulkan Header files and API registry
|
|
# URL: https://www.khronos.org/vulkan/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
name=vulkan-headers
|
|
_name=Vulkan-Headers
|
|
version=1.3.280.0
|
|
_version=vulkan-sdk-$version
|
|
release=1
|
|
source=(https://github.com/KhronosGroup/Vulkan-Headers/archive/$_version/$_name-$version.tar.gz)
|
|
|
|
build() {
|
|
cmake -S $_name-$_version -B build -G Ninja \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
-D CMAKE_BUILD_TYPE=Release
|
|
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
}
|