wok view freeglut/receipt @ rev 20937

updated freeglut and freeglut-dev (2.6.0 -> 3.0.0)
author Hans-G?nter Theisgen
date Sat Mar 02 17:32:25 2019 +0100 (8 months ago)
parents 17e313b5b9c1
children 709441284259
line source
1 # SliTaz package receipt.
3 PACKAGE="freeglut"
4 VERSION="3.0.0"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL utility toolkit."
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL"
9 WEB_SITE="https://freeglut.sourceforge.io/"
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-libXi xorg-libXfixes xorg-libXxf86vm"
18 BUILD_DEPENDS="mesa-dev mesa libglu-mesa-dev libglu-mesa xorg-inputproto \
19 xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXi-dev xorg-libXfixes-dev xorg-libXxf86vm-dev libxcb-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
25 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
27 # fixes an issue with the radeon[hd] ATI opensource drivers
28 # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163
29 # patch -p0 -i $stuff/2.6.0-GFX_radeon.patch
30 # sed -i 's/-Werror//' configure
32 cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
33 # sed -i '/XF86VMODE/d' config.status
34 make -j 1 &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }