wok-current diff freeglut/receipt @ rev 24805
Up apache (2.4.53)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 22 10:13:41 2022 +0000 (2022-03-22) |
parents | 640a2eba2511 |
children | d2b97b580e23 |
line diff
1.1 --- a/freeglut/receipt Mon Feb 07 11:38:23 2022 +0000 1.2 +++ b/freeglut/receipt Tue Mar 22 10:13:41 2022 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="freeglut" 1.7 -VERSION="3.2.1" 1.8 +VERSION="3.2.2" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="OpenGL utility toolkit." 1.11 MAINTAINER="b1+slitaz@nagel.org" 1.12 @@ -12,8 +12,8 @@ 1.13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 1.15 SUGGESTED="nvidia" 1.16 -DEPENDS="glibc-base libdrm mesa libglu-mesa \ 1.17 - xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \ 1.18 +DEPENDS="glibc-base libdrm mesa libglu-mesa 1.19 + xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp 1.20 xorg-libXext xorg-libXfixes xorg-libXi xorg-libXxf86vm" 1.21 BUILD_DEPENDS="cmake libglu-mesa libglu-mesa-dev libxcb-dev mesa mesa-dev 1.22 xorg-inputproto xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev 1.23 @@ -39,15 +39,17 @@ 1.24 # patch -p0 -i $stuff/2.6.0-GFX_radeon.patch 1.25 # sed -i 's/-Werror//' configure 1.26 1.27 - cmake . -DCMAKE_INSTALL_PREFIX=/usr && 1.28 + mkdir _build && 1.29 + cd _build && 1.30 + cmake .. \ 1.31 + -D CMAKE_INSTALL_PREFIX=/usr && 1.32 # sed -i '/XF86VMODE/d' config.status 1.33 - make -j 1 && 1.34 - make DESTDIR=$DESTDIR install 1.35 + make && 1.36 + make install DESTDIR=$DESTDIR 1.37 } 1.38 1.39 # Rules to gen a SliTaz package suitable for Tazpkg. 1.40 genpkg_rules() 1.41 { 1.42 - mkdir -p $fs/usr/lib 1.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 + cook_copy_files *.so* 1.45 }