wok-6.x annotate freeglut/receipt @ rev 14032
gocr: use pnm2png, not pnmtopng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 11:06:24 2013 +0100 (2013-02-18) |
parents | 54f2cf52f89e |
children | 3b4e4318134e |
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" |
pascal@13794 | 8 DEPENDS="glibc-base libdrm mesa libglu-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" |
pascal@13792 | 12 BUILD_DEPENDS="mesa-dev mesa libglu-mesa-dev libglu-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 { |
pascal@12653 | 21 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12653 | 22 export LDFLAGS="-Wl,--copy-dt-needed-entries" |
pascal@12653 | 23 |
rcx@3701 | 24 if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi |
rcx@3701 | 25 |
wcnagel@1054 | 26 cd $src |
slaxemulator@6334 | 27 # fixes an issue with the radeon[hd] ATI opensource drivers |
slaxemulator@6334 | 28 # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163 |
slaxemulator@9700 | 29 patch -p0 -i $stuff/2.6.0-GFX_radeon.patch |
rcx@3701 | 30 # sed -i 's/-Werror//' configure |
rcx@3701 | 31 ./configure \ |
rcx@3701 | 32 --prefix=/usr \ |
rcx@3701 | 33 $CONFIGURE_ARGS && |
rcx@3701 | 34 # sed -i '/XF86VMODE/d' config.status |
rcx@3701 | 35 make && |
pascal@13792 | 36 make DESTDIR=$DESTDIR install |
wcnagel@1054 | 37 } |
wcnagel@1054 | 38 |
wcnagel@1054 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
wcnagel@1054 | 40 genpkg_rules() |
wcnagel@1054 | 41 { |
wcnagel@1054 | 42 mkdir -p $fs/usr/lib |
pascal@13792 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
wcnagel@1054 | 44 } |