summaryrefslogtreecommitdiff
path: root/package/mesa-demos/Makefile
blob: 5f0ae71663298dd76137b5ad18029f77ef478cc3 (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
28
29
30
31
# 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:=		mesa-demos
PKG_VERSION:=		8.1.0
PKG_RELEASE:=		2
PKG_MD5SUM:=		4049d98dd4131212e2842b770f1b0fa5
PKG_DESCR:=		MESA demo apps
PKG_SECTION:=		misc
PKG_DEPENDS:=		mesalib
PKG_BUILDDEP:=		MesaLib libglew
PKG_SITES:=		ftp://ftp.freedesktop.org/pub/mesa/demos/${PKG_VERSION}/

PKG_ARCH_DEPENDS:=      x86 x86_64 mips mipsel mips64 mips64el arm

PKG_SUBPKGS:=		GLXINFO
PKGSD_GLXINFO:=		glxinfo
PKGSS_GLXINFO:=		libxt libxau libxdmcp libxcb libx11 libxext libglew

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,GLXINFO,glxinfo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

glxinfo-install:
	$(INSTALL_DIR) $(IDIR_GLXINFO)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/glxinfo \
		$(IDIR_GLXINFO)/usr/bin

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