wok-current annotate freeglut/receipt @ rev 11894
squidclamav: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 29 13:09:35 2012 +0100 (2012-02-29) |
parents | e5ae411e1d8c |
children | 053c9ea7763c |
rev | line source |
---|---|
wcnagel@1054 | 1 # SliTaz package receipt. |
wcnagel@1054 | 2 |
wcnagel@1054 | 3 PACKAGE="freeglut" |
slaxemulator@6334 | 4 VERSION="2.6.0" |
pascal@1423 | 5 CATEGORY="x-window" |
wcnagel@1054 | 6 SHORT_DESC="OpenGL utility toolkit." |
b1+slitaz@1802 | 7 MAINTAINER="b1+slitaz@nagel.org" |
slaxemulator@6970 | 8 DEPENDS="glibc-base libdrm mesa \ |
rcx@3696 | 9 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \ |
jozee@5018 | 10 xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm" |
jozee@5018 | 11 SUGGESTED="nvidia" |
slaxemulator@9475 | 12 BUILD_DEPENDS="mesa-dev mesa xorg-inputproto \ |
slaxemulator@6334 | 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" |
rcx@3696 | 14 TARBALL="$PACKAGE-$VERSION.tar.gz" |
wcnagel@1054 | 15 WEB_SITE="http://freeglut.sourceforge.net/" |
rcx@3696 | 16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
wcnagel@1054 | 17 |
wcnagel@1054 | 18 # Rules to configure and make the package. |
wcnagel@1054 | 19 compile_rules() |
wcnagel@1054 | 20 { |
rcx@3701 | 21 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi |
rcx@3701 | 22 |
wcnagel@1054 | 23 cd $src |
slaxemulator@6334 | 24 # fixes an issue with the radeon[hd] ATI opensource drivers |
slaxemulator@6334 | 25 # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163 |
slaxemulator@9700 | 26 patch -p0 -i $stuff/2.6.0-GFX_radeon.patch |
rcx@3701 | 27 # sed -i 's/-Werror//' configure |
rcx@3701 | 28 ./configure \ |
rcx@3701 | 29 --prefix=/usr \ |
rcx@3701 | 30 $CONFIGURE_ARGS && |
rcx@3701 | 31 # sed -i '/XF86VMODE/d' config.status |
rcx@3701 | 32 make && |
wcnagel@1054 | 33 make DESTDIR=$src/_pkg install |
wcnagel@1054 | 34 } |
wcnagel@1054 | 35 |
wcnagel@1054 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
wcnagel@1054 | 37 genpkg_rules() |
wcnagel@1054 | 38 { |
wcnagel@1054 | 39 mkdir -p $fs/usr/lib |
wcnagel@1054 | 40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
wcnagel@1054 | 41 } |