Added freeglut-2.4.0 template.

--HG--
extra : convert_revision : cb399af1e10aa383bd3ce009fcd5f284a2160bdd
This commit is contained in:
Juan RP 2008-10-08 14:46:04 +02:00
parent 54e31f2866
commit 7007ff6bcb
3 changed files with 30 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,11 @@
--- src/Makefile.in.orig 2008-10-08 14:39:38.000000000 +0200
+++ src/Makefile.in 2008-10-08 14:39:49.000000000 +0200
@@ -130,7 +130,7 @@
#
# Additional linker flags
#
-lib@LIBRARY@_la_LIBADD = $(LIBM) $(X_LIBS) -lGL -lGLU -lXext -lX11 $(LIBXXF86VM)
+lib@LIBRARY@_la_LIBADD = $(LIBM) $(X_LIBS) -lusbhid -lGL -lGLU -lXext -lX11 $(LIBXXF86VM)
lib@LIBRARY@_la_LDFLAGS = -version-info 11:0:8
lib@LIBRARY@_la_CFLAGS = $(X_CFLAGS)

19
templates/freeglut.tmpl Executable file
View File

@ -0,0 +1,19 @@
# Template build file for 'freeglut'.
pkgname=freeglut
version=2.4.0
patch_files="$pkgname-src-Makefile-in.diff"
extract_sufx=".tar.gz"
url=http://surfnet.dl.sourceforge.net/sourceforge/freeglut
build_style=gnu_configure
configure_args="--disable-warnings"
make_cmd="$PKGFS_MASTERDIR/bin/gmake"
short_desc="Alternative to the OpenGL Utility Toolkit (GLUT) library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=77465647f3d65fbb5cf253eb93ac7409e0c37b14
long_desc="
freeglut is a completely OpenSourced alternative to the OpenGL
Utility Toolkit (GLUT) library. GLUT was originally written by
Mark Kilgard to support the sample programs in the second edition
OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety
of practical applications because it is simple, universally available
and highly portable."