wok-current view directx-headers/receipt @ rev 25716

Adjust mesa depends and fix loop for libegl-mesa,libglx-mesa / mesa
author Stanislas Leduc <shann@slitaz.org>
date Fri Jun 14 14:46:05 2024 +0000 (4 weeks ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="directx-headers"
4 VERSION="1.600.10"
5 CATEGORY="development"
6 SHORT_DESC="Direct3D 12 headers"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/microsoft/DirectX-Headers"
11 WGET_URL="git|https://github.com/microsoft/DirectX-Headers.git"
12 BRANCH="v$VERSION"
14 DEPENDS=""
15 BUILD_DEPENDS="git meson"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir mbuild && cd mbuild
21 meson setup \
22 --prefix=/usr \
23 --libdir=lib \
24 --bindir=/usr/bin \
25 --sbindir=/usr/sbin \
26 --buildtype=release \
27 -D build-test=false \
28 ..
30 ninja build
31 DESTDIR=$install ninja install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/lib* $fs/usr/lib
39 cp -a $install/usr/include $fs/usr
40 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
41 }