25 lines
505 B
Plaintext
25 lines
505 B
Plaintext
# Description: SPIR-V Headers
|
|
# URL: https://www.khronos.org/registry/spir-v/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: cmake
|
|
|
|
name=spirv-headers
|
|
version=1.4.1
|
|
release=1
|
|
source=(https://github.com/KhronosGroup/SPIRV-Headers/archive/$version/SPIRV-Headers-$version.tar.gz)
|
|
|
|
build() {
|
|
cd SPIRV-Headers-$version
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DSPIRV_HEADERS_SKIP_EXAMPLES=ON
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|