[oe-commits] Martin Jansa : libglew: import 1.5.7 from poky

git version control git at git.openembedded.org
Mon Jan 10 15:28:01 UTC 2011


Module: openembedded.git
Branch: master
Commit: 46b7a6817a08e5f76afca905488a532f0e79e9d0
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=46b7a6817a08e5f76afca905488a532f0e79e9d0

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Mon Jan 10 17:55:59 2011 +0000

libglew: import 1.5.7 from poky

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../glew/{files => libglew-1.5.1}/autotools.patch  |    0
 .../glew/{files => libglew-1.5.7}/autotools.patch  |    4 ++--
 recipes/glew/libglew_1.5.7.bb                      |   18 ++++++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/recipes/glew/files/autotools.patch b/recipes/glew/libglew-1.5.1/autotools.patch
similarity index 100%
copy from recipes/glew/files/autotools.patch
copy to recipes/glew/libglew-1.5.1/autotools.patch
diff --git a/recipes/glew/files/autotools.patch b/recipes/glew/libglew-1.5.7/autotools.patch
similarity index 97%
rename from recipes/glew/files/autotools.patch
rename to recipes/glew/libglew-1.5.7/autotools.patch
index fc4df82..7fe1d6e 100644
--- a/recipes/glew/files/autotools.patch
+++ b/recipes/glew/libglew-1.5.7/autotools.patch
@@ -17,7 +17,7 @@ Index: glew/configure.ac
 +# Process this file with autoconf to produce a configure script.
 +
 +AC_PREREQ([2.62])
-+AC_INIT([glew], [1.5.1], [BUG-REPORT-ADDRESS])
++AC_INIT([glew], [1.5.7], [BUG-REPORT-ADDRESS])
 +AC_CONFIG_SRCDIR([src/glew.c])
 +AC_CONFIG_HEADERS([config.h])
 +AM_INIT_AUTOMAKE([-Wall -Werror foreign])
@@ -74,7 +74,7 @@ Index: glew/configure.ac
 +# for now we use the same version as the package, but that should be avoided
 +# in the future
 +
-+AC_SUBST([LIBGLEW_SO_VERSION], [1:5:1])
++AC_SUBST([LIBGLEW_SO_VERSION], [1:5:7])
 +
 +AC_CONFIG_FILES([Makefile
 +                 include/Makefile
diff --git a/recipes/glew/libglew_1.5.7.bb b/recipes/glew/libglew_1.5.7.bb
new file mode 100644
index 0000000..84a6e5e
--- /dev/null
+++ b/recipes/glew/libglew_1.5.7.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library."
+HOMEPAGE = "http://glew.sourceforge.net/"
+SECTION = "x11"
+LICENSE = "MIT"
+
+DEPENDS = "virtual/libx11 virtual/libgl libxext libxi libxmu"
+
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/glew/glew/${PV}/glew-${PV}.tgz \
+           file://autotools.patch \
+          "
+SRC_URI[md5sum] = "f913ce9dbde4cd250b932731b3534ded"
+SRC_URI[sha256sum] = "86bd36a163640d6027ec6be5fdd8a6e3b90f02dcf55f95c3c2429ebb58be3107"
+
+S = "${WORKDIR}/glew-${PV}"
+
+inherit autotools lib_package





More information about the Openembedded-commits mailing list