
* SourceForge: Mirror Mixin Add a mixing class for direct `CNAME`s to sourceforge mirrors. Since the main gateway servers are often down, this could reduce timeouts and fetch errors for sourceforge.net hosted software. * SourceForge: unspectacular mirror replacement add mirrors to all sourceforge packages with trivial download logic. tested fetch of latest version of each of these packages with various mirrors before committing. * SourceForge: xz the author homepage is chronocially overrun and this is the offical upload with many mirrors.
25 lines
770 B
Python
25 lines
770 B
Python
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack import *
|
|
|
|
|
|
class Freeglut(CMakePackage, SourceforgePackage):
|
|
"""FreeGLUT is a free-software/open-source alternative to the OpenGL
|
|
Utility Toolkit (GLUT) library"""
|
|
|
|
homepage = "http://freeglut.sourceforge.net/"
|
|
sourceforge_mirror_path = "freeglut/freeglut-3.0.0.tar.gz"
|
|
|
|
version('3.0.0', sha256='2a43be8515b01ea82bcfa17d29ae0d40bd128342f0930cd1f375f1ff999f76a2')
|
|
|
|
depends_on('gl')
|
|
depends_on('glu')
|
|
depends_on('libx11')
|
|
depends_on('libxrandr')
|
|
depends_on('libxi')
|
|
depends_on('xrandr')
|
|
depends_on('inputproto')
|