wok annotate freeglut/receipt @ rev 23937

qemu: add X86_64 efi bios
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 12 11:24:50 2020 +0000 (2020-09-12)
parents 2b40600dab3c
children 640a2eba2511
rev   line source
wcnagel@1054 1 # SliTaz package receipt.
wcnagel@1054 2
wcnagel@1054 3 PACKAGE="freeglut"
Hans-G?nter@22775 4 VERSION="3.2.1"
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@22775 9 WEB_SITE="https://sourceforge.net/projects/freeglut/"
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 \
Hans-G?nter@22775 16 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \
Hans-G?nter@22775 17 xorg-libXext xorg-libXfixes xorg-libXi xorg-libXxf86vm"
Hans-G?nter@22775 18 BUILD_DEPENDS="cmake libglu-mesa libglu-mesa-dev libxcb-dev mesa mesa-dev
Hans-G?nter@22775 19 xorg-inputproto xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev
Hans-G?nter@22775 20 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes-dev xorg-libXi-dev
Hans-G?nter@22775 21 xorg-libXxf86vm-dev xorg-xproto"
wcnagel@1054 22
wcnagel@1054 23 # Rules to configure and make the package.
wcnagel@1054 24 compile_rules()
wcnagel@1054 25 {
pascal@12653 26 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pascal@12653 28
slaxemulator@6334 29 # fixes an issue with the radeon[hd] ATI opensource drivers
slaxemulator@6334 30 # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163
Hans-G?nter@20937 31 # patch -p0 -i $stuff/2.6.0-GFX_radeon.patch
rcx@3701 32 # sed -i 's/-Werror//' configure
Hans-G?nter@20937 33
Hans-G?nter@20937 34 cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
rcx@3701 35 # sed -i '/XF86VMODE/d' config.status
Hans-G?nter@20937 36 make -j 1 &&
pascal@13792 37 make DESTDIR=$DESTDIR install
wcnagel@1054 38 }
wcnagel@1054 39
wcnagel@1054 40 # Rules to gen a SliTaz package suitable for Tazpkg.
wcnagel@1054 41 genpkg_rules()
wcnagel@1054 42 {
wcnagel@1054 43 mkdir -p $fs/usr/lib
Hans-G?nter@22775 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
wcnagel@1054 45 }