vp-build/templates/freeglut.tmpl
Juan RP b52d064544 Major changes to support multiple distfiles in templates.
Each template now needs to use $distfiles that accepts the full
URL to download the distfile and old $extract_sufx is now merged
on it, but this must be separated by the '@' character. Example:

distfiles="http://www.foo.org/blah-6.2@.tar.gz
http://www.foo.org/blob-1.0@.tar.bz2"

If distfiles contains multiple files defined, $wrksrc is now
mandatory.

--HG--
extra : convert_revision : 1c3fa35f148af8323ce3cbcf5732104960de6bc4
2008-10-14 07:52:29 +02:00

20 lines
836 B
Cheetah

# Template build file for 'freeglut'.
pkgname=freeglut
version=2.4.0
patch_files="$pkgname-src-Makefile-in.diff"
distfiles="
http://surfnet.dl.sourceforge.net/sourceforge/freeglut/$pkgname-$version@.tar.gz"
build_style=gnu_configure
configure_args="--disable-warnings"
make_cmd="$XBPS_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."