wok view freeglut/receipt @ rev 9298
Add perl-file-slurp.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 17 07:11:54 2011 +0000 (2011-03-17) |
parents | 6f535262c026 |
children | e5ae411e1d8c |
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="slitaz-toolchain 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 strip -s $fs/usr/lib/*
42 }