libgpg-error: Fix compiling with uclibc
[openadk.git] / package / freeglut / Makefile
blobcee02625d032c84fd777b27163fcb8d9bfff672a
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= freeglut
7 PKG_VERSION:= 3.0.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 2a43be8515b01ea82bcfa17d29ae0d40bd128342f0930cd1f375f1ff999f76a2
10 PKG_DESCR:= opengl utility toolkit libraries
11 PKG_SECTION:= libs/video
12 PKG_DEPENDS:= libglu
13 PKG_BUILDDEP:= glu cmake-host
14 PKG_NEEDS:= c++
15 PKG_URL:= http://freeglut.sourceforge.net/
16 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=freeglut/}
17 PKG_OPTS:= dev
19 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
21 PKG_ARCH_DEPENDS:= arm mips mipsel mips64 mips64el x86 x86_64
23 include $(ADK_TOPDIR)/mk/package.mk
25 $(eval $(call PKG_template,FREEGLUT,freeglut,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
27 CONFIG_STYLE:= cmake
29 freeglut-install:
30 $(INSTALL_DIR) $(IDIR_FREEGLUT)/usr/lib
31 $(CP) ${WRKINST}/usr/lib/libglut.so* $(IDIR_FREEGLUT)/usr/lib
33 include ${ADK_TOPDIR}/mk/pkg-bottom.mk