wok-current view spirv-headers/receipt @ rev 25710

Build full mesa features and split it
author Stanislas Leduc <shann@slitaz.org>
date Mon Jun 10 19:04:54 2024 +0000 (5 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="spirv-headers"
4 VERSION="1.3.283.0"
5 CATEGORY="development"
6 SHORT_DESC="Direct3D 12 headers"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/KhronosGroup/SPIRV-Headers"
11 WGET_URL="https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-$VERSION/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="cmake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir build && cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DLIB_INSTALL_DIR=/usr/lib \
25 -DCMAKE_INSTALL_DATADIR=/usr/lib \
26 -Wno-dev \
27 ..
29 make
30 make DESTDIR=$install install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/include $fs/usr
38 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
39 }