wok-4.x diff freeglut/receipt @ rev 1054
Add freeglut
author | Bill Nagel <wcnagel@xxxxxxxx> |
---|---|
date | Mon Jul 14 02:37:21 2008 +0000 (2008-07-14) |
parents | |
children | 74c908326808 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/freeglut/receipt Mon Jul 14 02:37:21 2008 +0000 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="freeglut" 1.7 +VERSION="2.4.0" 1.8 +CATEGORY="x-windows" 1.9 +SHORT_DESC="OpenGL utility toolkit." 1.10 +MAINTAINER="wcnagel" 1.11 +TARBALL="freeglut-$VERSION.tar.gz" 1.12 +WEB_SITE="http://freeglut.sourceforge.net/" 1.13 +WGET_URL="http://internap.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL" 1.14 + 1.15 +# DEPENDS does not include mesa because libGL 1.16 +# might already be provided by a driver, and we do 1.17 +# not want mesa to clobber libGL 1.18 +DEPENDS="xorg" 1.19 +BUILD_DEPENDS="xorg-dev xorg-dev-proto mesa-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + cd $src 1.25 + sed -i 's/-Werror//' configure 1.26 + ./configure --prefix=/usr $CONFIGURE_ARGS 1.27 + sed -i '/XF86VMODE/d' config.status 1.28 + make 1.29 + make DESTDIR=$src/_pkg install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/lib 1.36 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.37 + strip -s $fs/usr/lib/* 1.38 +}