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

Up abiword (3.0.5), libwmf (0.2.13), fix wv url
author Stanislas Leduc <shann@slitaz.org>
date Fri Jun 14 11:35:21 2024 +0000 (4 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 }