wok-6.x view freeglut/receipt @ rev 15751

Up and fix xorg-server (1.12.4) Removed Kdrive who should be in xorg-server-* pkgs and save space on iSO
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 03 12:43:42 2014 +0100 (2014-01-03)
parents a2c3b45bfc8b
children 17e313b5b9c1
line source
1 # SliTaz package receipt.
3 PACKAGE="freeglut"
4 VERSION="2.6.0"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL utility toolkit."
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL"
9 SUGGESTED="nvidia"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://freeglut.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="glibc-base libdrm mesa libglu-mesa \
15 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \
16 xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm"
17 BUILD_DEPENDS="mesa-dev mesa libglu-mesa-dev libglu-mesa xorg-inputproto \
18 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"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
24 export LDFLAGS="-Wl,--copy-dt-needed-entries"
26 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi
28 cd $src
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
33 ./configure \
34 --prefix=/usr \
35 $CONFIGURE_ARGS &&
36 # sed -i '/XF86VMODE/d' config.status
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }