Makefile 903 B

12345678910111213141516171819202122232425262728293031
  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:= libXi
  5. PKG_VERSION:= 1.4.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b9dfc98b27e3770567e4c6a3365a21b7
  8. PKG_DESCR:= X Window System client interface to the XINPUT extension to the X protocol.
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= xproto xextproto libXext
  11. PKG_URL:= http://xorg.freedesktop.org/
  12. PKG_SITES:= ${MASTER_SITE_XORG}
  13. ifeq ($(ADK_STATIC),y)
  14. PKG_OPTS:= libonly
  15. endif
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBXI,libxi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS)))
  18. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  19. post-install:
  20. $(INSTALL_DIR) $(IDIR_LIBXI)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/libXi*.so* \
  22. $(IDIR_LIBXI)/usr/lib
  23. include ${TOPDIR}/mk/pkg-bottom.mk