wok view freeglut/receipt @ rev 25193

updated python-genshi (0.7.3 -> 0.7.5)
author Hans-G?nter Theisgen
date Wed Jul 13 10:42:47 2022 +0100 (2022-07-13)
parents 257d3372786a
children 6b33f9da53d4
line source
1 # SliTaz package receipt.
3 PACKAGE="freeglut"
4 VERSION="3.2.2"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL utility toolkit."
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL"
9 WEB_SITE="https://web.archive.org/web/20220516194849/https://sourceforge.net/projects/freeglut/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 SUGGESTED="nvidia"
15 DEPENDS="glibc-base libdrm mesa libglu-mesa
16 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp
17 xorg-libXext xorg-libXfixes xorg-libXi xorg-libXxf86vm"
18 BUILD_DEPENDS="cmake libglu-mesa libglu-mesa-dev libxcb-dev mesa mesa-dev
19 xorg-inputproto xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev
20 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes-dev xorg-libXi-dev
21 xorg-libXxf86vm-dev xorg-xproto"
23 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - https://sourceforge.net/projects/freeglut/files/freeglut/ 2>/dev/null | \
27 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
28 sed '/scope="row/!d;s|.*/freeglut/||;s|/.*||;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
35 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
37 # fixes an issue with the radeon[hd] ATI opensource drivers
38 # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163
39 # patch -p0 -i $stuff/2.6.0-GFX_radeon.patch
40 # sed -i 's/-Werror//' configure
42 mkdir _build &&
43 cd _build &&
44 cmake .. \
45 -D CMAKE_INSTALL_PREFIX=/usr &&
46 # sed -i '/XF86VMODE/d' config.status
47 make &&
48 make install DESTDIR=$DESTDIR
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 cook_copy_files *.so*
55 }