imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / libdrm / Makefile
blobe5999416b7f21d68572a977d5d49abcafdacbbb8
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:= libdrm
7 PKG_VERSION:= 2.4.120
8 PKG_RELEASE:= 1
9 PKG_HASH:= 3bf55363f76c7250946441ab51d3a6cc0ae518055c0ff017324ab76cdefb327a
10 PKG_DESCR:= direct rendering manager library
11 PKG_SECTION:= libs/video
12 PKG_BUILDDEP:= meson-host libpthread-stubs cairo libpciaccess
13 PKG_URL:= http://dri.freedesktop.org/wiki/
14 PKG_SITES:= http://dri.freedesktop.org/libdrm/
15 PKG_OPTS:= dev
17 include $(ADK_TOPDIR)/mk/package.mk
19 $(eval $(call PKG_template,LIBDRM,libdrm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
21 WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
23 MESON_FLAGS+= -Dvalgrind=disabled
25 CONFIG_STYLE:= meson
26 BUILD_STYLE:= meson
27 INSTALL_STYLE:= meson
29 libdrm-install:
30 $(INSTALL_DIR) $(IDIR_LIBDRM)/usr/lib
31 $(CP) $(WRKINST)/usr/lib/libdrm*.so* \
32 $(IDIR_LIBDRM)/usr/lib
34 include ${ADK_TOPDIR}/mk/pkg-bottom.mk