wok-6.x view freeglut/receipt @ rev 12662
giflib: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 10:20:36 2012 +0200 (2012-05-01) |
parents | d1768332cee0 |
children | 54f2cf52f89e |
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 DEPENDS="glibc-base libdrm mesa \
9 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \
10 xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm"
11 SUGGESTED="nvidia"
12 BUILD_DEPENDS="mesa-dev mesa xorg-inputproto \
13 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"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WEB_SITE="http://freeglut.sourceforge.net/"
16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
22 export LDFLAGS="-Wl,--copy-dt-needed-entries"
24 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi
26 cd $src
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
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 # sed -i '/XF86VMODE/d' config.status
35 make &&
36 make DESTDIR=$src/_pkg install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
44 }