summaryrefslogtreecommitdiff
path: root/recipes/mesa/freeglut_2.4.0.bb
blob: aaf3e55a049bbde6c34e8e0f94ed924b2d65c74f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "freeglut is a completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library. "
LICENSE = "MIT/X11"

DEPENDS = "virtual/libgl"

SRC_URI = "http://dfn.dl.sourceforge.net/sourceforge/freeglut/freeglut-${PV}.tar.gz"

inherit autotools lib_package

export CCLD="${CXX}"

do_configure_prepend() {
	sed -i -e s:-Werror::g -e s:AC_PROG_CC:AC_PROG_CXX:g configure.ac
}

do_configure_append() {
	for i in $(find . -name "Makefile") ; do
		sed -i -e /^CCLD/d $i
	done
}

SRC_URI[md5sum] = "6d16873bd876fbf4980a927cfbc496a1"
SRC_URI[sha256sum] = "269f2d50ba30b381622eb36f20b552ad43a1b43d544b9075e484e7146e81b052"