wok view freeglut/receipt @ rev 14394

imagemagick: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 23 13:48:09 2013 +0200 (2013-04-23)
parents 54f2cf52f89e
children 3b4e4318134e
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 libglu-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 libglu-mesa-dev libglu-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=$DESTDIR 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 $install/usr/lib/*.so* $fs/usr/lib
44 }