wok diff freeglut/receipt @ rev 3850
Add: lvm2 (thanks Guillaume Michon)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Aug 07 15:22:27 2009 +0200 (2009-08-07) |
parents | 2db429fb192c |
children | 9f19aee613be |
line diff
1.1 --- a/freeglut/receipt Thu Jul 16 15:19:49 2009 +0000 1.2 +++ b/freeglut/receipt Fri Aug 07 15:22:27 2009 +0200 1.3 @@ -1,14 +1,14 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="freeglut" 1.7 -VERSION="2.4.0" 1.8 +VERSION="2.6.0-rc1" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="OpenGL utility toolkit." 1.11 MAINTAINER="b1+slitaz@nagel.org" 1.12 -DEPENDS="glibc-base gcc-lib-base libdrm libgl libglu \ 1.13 +DEPENDS="glibc-base libdrm libgl \ 1.14 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \ 1.15 -xorg-libXext xorg-libXfixes xorg-libXxf86vm" 1.16 -BUILD_DEPENDS="slitaz-toolchain mesa-dev mesa \ 1.17 +xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm" 1.18 +BUILD_DEPENDS="slitaz-toolchain mesa-dev mesa xorg-inputproto \ 1.19 xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev" 1.20 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.21 WEB_SITE="http://freeglut.sourceforge.net/" 1.22 @@ -17,11 +17,15 @@ 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 + if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi 1.27 + 1.28 cd $src 1.29 - sed -i 's/-Werror//' configure 1.30 - ./configure --prefix=/usr $CONFIGURE_ARGS 1.31 - sed -i '/XF86VMODE/d' config.status 1.32 - make 1.33 +# sed -i 's/-Werror//' configure 1.34 + ./configure \ 1.35 + --prefix=/usr \ 1.36 + $CONFIGURE_ARGS && 1.37 +# sed -i '/XF86VMODE/d' config.status 1.38 + make && 1.39 make DESTDIR=$src/_pkg install 1.40 } 1.41