summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 22:10:54 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 22:27:24 +0200
commit5b2764493bcda2ab1d5313420b1b92f1132c6ccf (patch)
tree66e8bc44c2b785652e2f8039cbaa1618dc0d5893 /package
parent6b9f4a1eb77d97dd5d910d925f0b8cb5b7460781 (diff)
freeglut: update to 3.0.0, switch to cmake
Diffstat (limited to 'package')
-rw-r--r--package/freeglut/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/freeglut/Makefile b/package/freeglut/Makefile
index 258eb5802..cee02625d 100644
--- a/package/freeglut/Makefile
+++ b/package/freeglut/Makefile
@@ -4,13 +4,13 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= freeglut
-PKG_VERSION:= 2.8.1
+PKG_VERSION:= 3.0.0
PKG_RELEASE:= 1
-PKG_HASH:= dde46626a62a1cd9cf48a11951cdd592e7067c345cffe193a149dfd47aef999a
+PKG_HASH:= 2a43be8515b01ea82bcfa17d29ae0d40bd128342f0930cd1f375f1ff999f76a2
PKG_DESCR:= opengl utility toolkit libraries
PKG_SECTION:= libs/video
PKG_DEPENDS:= libglu
-PKG_BUILDDEP:= glu
+PKG_BUILDDEP:= glu cmake-host
PKG_NEEDS:= c++
PKG_URL:= http://freeglut.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=freeglut/}
@@ -18,13 +18,14 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-PKG_HOST_DEPENDS:= !cygwin
PKG_ARCH_DEPENDS:= arm mips mipsel mips64 mips64el x86 x86_64
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FREEGLUT,freeglut,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+CONFIG_STYLE:= cmake
+
freeglut-install:
$(INSTALL_DIR) $(IDIR_FREEGLUT)/usr/lib
$(CP) ${WRKINST}/usr/lib/libglut.so* $(IDIR_FREEGLUT)/usr/lib