summaryrefslogtreecommitdiff
path: root/package/freeglut/Makefile
blob: b4ba58a164d3d06337701a6f91e9ced97d5deaad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		freeglut
PKG_VERSION:=		2.6.0
PKG_RELEASE:=		1
PKG_MD5SUM:=		39f0f2de89f399529d2b981188082218
PKG_DESCR:=		OpenGL Utility Toolkit
PKG_SECTION:=		libs
PKG_BUILDDEP:=		MesaLib
PKG_URL:=		http://freeglut.sourceforge.net/
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=freeglut/}

PKG_HOST_DEPENDS:=	!cygwin !darwin
PKG_TARGET_DEPENDS:=	ibmx40 lemote

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,FREEGLUT,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

post-install:
	$(INSTALL_DIR) $(IDIR_FREEGLUT)/usr/lib
	$(CP) ${WRKINST}/usr/lib/libglut.so* $(IDIR_FREEGLUT)/usr/lib

include ${TOPDIR}/mk/pkg-bottom.mk