wok-next rev 3701
Upgrade: freeglut (2.4.0 to 2.6.0-rc1)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Fri Jul 17 12:22:07 2009 +0000 (2009-07-17) |
parents | a7a741ea5bd4 |
children | 5fc24facdb9f |
files | freeglut-dev/receipt freeglut/receipt |
line diff
1.1 --- a/freeglut-dev/receipt Fri Jul 17 17:31:25 2009 +0200 1.2 +++ b/freeglut-dev/receipt Fri Jul 17 12:22:07 2009 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="freeglut-dev" 1.7 -VERSION="2.4.0" 1.8 +VERSION="2.6.0-rc1" 1.9 CATEGORY="development" 1.10 SHORT_DESC="OpenGL utility toolkit development files." 1.11 MAINTAINER="b1+slitaz@nagel.org"
2.1 --- a/freeglut/receipt Fri Jul 17 17:31:25 2009 +0200 2.2 +++ b/freeglut/receipt Fri Jul 17 12:22:07 2009 +0000 2.3 @@ -1,14 +1,14 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="freeglut" 2.7 -VERSION="2.4.0" 2.8 +VERSION="2.6.0-rc1" 2.9 CATEGORY="x-window" 2.10 SHORT_DESC="OpenGL utility toolkit." 2.11 MAINTAINER="b1+slitaz@nagel.org" 2.12 -DEPENDS="glibc-base gcc-lib-base libdrm libgl libglu \ 2.13 +DEPENDS="glibc-base libdrm libgl \ 2.14 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \ 2.15 -xorg-libXext xorg-libXfixes xorg-libXxf86vm" 2.16 -BUILD_DEPENDS="slitaz-toolchain mesa-dev mesa \ 2.17 +xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm" 2.18 +BUILD_DEPENDS="slitaz-toolchain mesa-dev mesa xorg-inputproto \ 2.19 xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev" 2.20 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.21 WEB_SITE="http://freeglut.sourceforge.net/" 2.22 @@ -17,11 +17,15 @@ 2.23 # Rules to configure and make the package. 2.24 compile_rules() 2.25 { 2.26 + if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi 2.27 + 2.28 cd $src 2.29 - sed -i 's/-Werror//' configure 2.30 - ./configure --prefix=/usr $CONFIGURE_ARGS 2.31 - sed -i '/XF86VMODE/d' config.status 2.32 - make 2.33 +# sed -i 's/-Werror//' configure 2.34 + ./configure \ 2.35 + --prefix=/usr \ 2.36 + $CONFIGURE_ARGS && 2.37 +# sed -i '/XF86VMODE/d' config.status 2.38 + make && 2.39 make DESTDIR=$src/_pkg install 2.40 } 2.41