Makefile 841 B

12345678910111213141516171819202122232425
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= dri2proto
  5. PKG_VERSION:= 2.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 2087269416782cff56f9b22d1449c192
  8. PKG_DESCR:= DRI protocol headers
  9. PKG_SECTION:= x11/devel
  10. PKG_SITES:= ${MASTER_SITE_XORG}
  11. include $(TOPDIR)/mk/package.mk
  12. $(eval $(call PKG_template,DRI2PROTO,dri2proto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  13. post-install:
  14. ${INSTALL_DIR} ${IDIR_DRI2PROTO}/usr/include
  15. ${CP} ${WRKINST}/usr/include/X11 ${IDIR_DRI2PROTO}/usr/include
  16. ${INSTALL_DIR} ${IDIR_DRI2PROTO}/usr/lib/pkgconfig
  17. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/dri2proto.pc \
  18. ${IDIR_DRI2PROTO}/usr/lib/pkgconfig
  19. include ${TOPDIR}/mk/pkg-bottom.mk