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
9 PKG_HASH
:= aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7
10 PKG_DESCR
:= opengl extension wrangler library
11 PKG_SECTION
:= libs
/video
12 PKG_DEPENDS
:= libx11 libxmu libxi libxext mesa
13 PKG_BUILDDEP
:= libX11 libXmu libXi libXext mesa
14 PKG_URL
:= http
://glew.sourceforge.net
/index.html
15 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=glew
/}
18 PKG_ARCH_DEPENDS
:= !m68k
20 DISTFILES
:= glew-
$(PKG_VERSION
).tgz
21 WRKDIST
= ${WRKDIR}/glew-
$(PKG_VERSION
)
23 include $(ADK_TOPDIR
)/mk
/package.mk
25 $(eval
$(call PKG_template
,LIBGLEW
,libglew
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
28 XAKE_FLAGS
+= STRIP
='' SYSTEM
=linux
31 $(INSTALL_DIR
) $(IDIR_LIBGLEW
)/usr
/lib
32 $(CP
) $(WRKINST
)/usr
/lib
/libGLEW.so
* \
33 $(IDIR_LIBGLEW
)/usr
/lib
35 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk