summaryrefslogtreecommitdiff
path: root/package/mesa-demos/Makefile
blob: a0ab20771ffee08cc8ae6bf9be7dec23c3fc3c9e (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
# 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_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