wok view freeglut/receipt @ rev 9625
vlc: Fix DEPENDS alsa is not a package + move *DEPENDS var under all other since there are enormous ans it's simple to read
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 24 01:02:03 2011 +0200 (2011-04-24) |
parents | 07e6c84aad04 |
children | d1768332cee0 |
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 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi
23 cd $src
24 # fixes an issue with the radeon[hd] ATI opensource drivers
25 # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163
26 patch -p0 -i ../stuff/2.6.0-GFX_radeon.patch
27 # sed -i 's/-Werror//' configure
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 # sed -i '/XF86VMODE/d' config.status
32 make &&
33 make DESTDIR=$src/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 }