wok-current diff 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 (8 weeks ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/directx-headers/receipt Fri Jun 14 14:46:05 2024 +0000 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="directx-headers" 1.7 +VERSION="1.600.10" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Direct3D 12 headers" 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="https://github.com/microsoft/DirectX-Headers" 1.14 +WGET_URL="git|https://github.com/microsoft/DirectX-Headers.git" 1.15 +BRANCH="v$VERSION" 1.16 + 1.17 +DEPENDS="" 1.18 +BUILD_DEPENDS="git meson" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + mkdir mbuild && cd mbuild 1.24 + meson setup \ 1.25 + --prefix=/usr \ 1.26 + --libdir=lib \ 1.27 + --bindir=/usr/bin \ 1.28 + --sbindir=/usr/sbin \ 1.29 + --buildtype=release \ 1.30 + -D build-test=false \ 1.31 + .. 1.32 + 1.33 + ninja build 1.34 + DESTDIR=$install ninja install 1.35 +} 1.36 + 1.37 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 +genpkg_rules() 1.39 +{ 1.40 + mkdir -p $fs/usr/lib 1.41 + cp -a $install/usr/lib/lib* $fs/usr/lib 1.42 + cp -a $install/usr/include $fs/usr 1.43 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.44 +}