wok-6.x annotate 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 (2019-03-02)
parents 17e313b5b9c1
children 709441284259
rev   line source
wcnagel@1054 1 # SliTaz package receipt.
wcnagel@1054 2
wcnagel@1054 3 PACKAGE="freeglut"
Hans-G?nter@20937 4 VERSION="3.0.0"
pascal@1423 5 CATEGORY="x-window"
wcnagel@1054 6 SHORT_DESC="OpenGL utility toolkit."
b1+slitaz@1802 7 MAINTAINER="b1+slitaz@nagel.org"
pascal@15593 8 LICENSE="GPL"
Hans-G?nter@20937 9 WEB_SITE="https://freeglut.sourceforge.io/"
Hans-G?nter@20937 10
pascal@15593 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15593 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15593 13
Hans-G?nter@20937 14 SUGGESTED="nvidia"
pascal@13794 15 DEPENDS="glibc-base libdrm mesa libglu-mesa \
rcx@3696 16 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \
jozee@5018 17 xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm"
pascal@13792 18 BUILD_DEPENDS="mesa-dev mesa libglu-mesa-dev libglu-mesa xorg-inputproto \
slaxemulator@6334 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"
wcnagel@1054 20
wcnagel@1054 21 # Rules to configure and make the package.
wcnagel@1054 22 compile_rules()
wcnagel@1054 23 {
pascal@12653 24 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 25 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pascal@12653 26
slaxemulator@6334 27 # fixes an issue with the radeon[hd] ATI opensource drivers
slaxemulator@6334 28 # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163
Hans-G?nter@20937 29 # patch -p0 -i $stuff/2.6.0-GFX_radeon.patch
rcx@3701 30 # sed -i 's/-Werror//' configure
Hans-G?nter@20937 31
Hans-G?nter@20937 32 cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
rcx@3701 33 # sed -i '/XF86VMODE/d' config.status
Hans-G?nter@20937 34 make -j 1 &&
pascal@13792 35 make DESTDIR=$DESTDIR install
wcnagel@1054 36 }
wcnagel@1054 37
wcnagel@1054 38 # Rules to gen a SliTaz package suitable for Tazpkg.
wcnagel@1054 39 genpkg_rules()
wcnagel@1054 40 {
wcnagel@1054 41 mkdir -p $fs/usr/lib
pascal@13792 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
wcnagel@1054 43 }