wok view freeglut/receipt @ rev 23588

updated python-zfec (1.4.24 -> 1.5.3)
author Hans-G?nter Theisgen
date Tue Apr 07 14:41:13 2020 +0100 (2020-04-07)
parents 2b40600dab3c
children 640a2eba2511
line source
1 # SliTaz package receipt.
3 PACKAGE="freeglut"
4 VERSION="3.2.1"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL utility toolkit."
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL"
9 WEB_SITE="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 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
29 # fixes an issue with the radeon[hd] ATI opensource drivers
30 # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163
31 # patch -p0 -i $stuff/2.6.0-GFX_radeon.patch
32 # sed -i 's/-Werror//' configure
34 cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
35 # sed -i '/XF86VMODE/d' config.status
36 make -j 1 &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }