wok-6.x rev 1054
Add freeglut
author | Bill Nagel <wcnagel@xxxxxxxx> |
---|---|
date | Mon Jul 14 02:37:21 2008 +0000 (2008-07-14) |
parents | ea29b5b7e675 |
children | 2d568fbc64a2 |
files | freeglut-dev/receipt freeglut/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/freeglut-dev/receipt Mon Jul 14 02:37:21 2008 +0000 1.3 @@ -0,0 +1,17 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="freeglut-dev" 1.7 +VERSION="2.4.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="OpenGL utility toolkit development files." 1.10 +MAINTAINER="wcnagel" 1.11 +WANTED="freeglut" 1.12 +WEB_SITE="http://freeglut.sourceforge.net/" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib 1.18 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/freeglut/receipt Mon Jul 14 02:37:21 2008 +0000 2.3 @@ -0,0 +1,35 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="freeglut" 2.7 +VERSION="2.4.0" 2.8 +CATEGORY="x-windows" 2.9 +SHORT_DESC="OpenGL utility toolkit." 2.10 +MAINTAINER="wcnagel" 2.11 +TARBALL="freeglut-$VERSION.tar.gz" 2.12 +WEB_SITE="http://freeglut.sourceforge.net/" 2.13 +WGET_URL="http://internap.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL" 2.14 + 2.15 +# DEPENDS does not include mesa because libGL 2.16 +# might already be provided by a driver, and we do 2.17 +# not want mesa to clobber libGL 2.18 +DEPENDS="xorg" 2.19 +BUILD_DEPENDS="xorg-dev xorg-dev-proto mesa-dev" 2.20 + 2.21 +# Rules to configure and make the package. 2.22 +compile_rules() 2.23 +{ 2.24 + cd $src 2.25 + sed -i 's/-Werror//' configure 2.26 + ./configure --prefix=/usr $CONFIGURE_ARGS 2.27 + sed -i '/XF86VMODE/d' config.status 2.28 + make 2.29 + make DESTDIR=$src/_pkg install 2.30 +} 2.31 + 2.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.33 +genpkg_rules() 2.34 +{ 2.35 + mkdir -p $fs/usr/lib 2.36 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.37 + strip -s $fs/usr/lib/* 2.38 +}