1
0

Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= libXi
  5. PKG_VERSION:= 1.6.1
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= a2aab210068af017314888c64c3a7dd6b5a7933fe50ab89b6e039aadc07dac46
  8. PKG_DESCR:= client interface to the xinput extension
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= xproto xextproto libXext libXi-host
  11. PKG_URL:= http://xorg.freedesktop.org/
  12. PKG_SITES:= ${MASTER_SITE_XORG}
  13. PKG_LIBNAME:= libxi
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include $(ADK_TOPDIR)/mk/host.mk
  17. include $(ADK_TOPDIR)/mk/package.mk
  18. $(eval $(call HOST_template,LIBXI,libxi,$(PKG_VERSION)-${PKG_RELEASE}))
  19. $(eval $(call PKG_template,LIBXI,libxi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS)))
  20. HOST_STYLE:= auto
  21. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  22. libxi-install:
  23. $(INSTALL_DIR) $(IDIR_LIBXI)/usr/lib
  24. $(CP) $(WRKINST)/usr/lib/libXi*.so* \
  25. $(IDIR_LIBXI)/usr/lib
  26. include ${ADK_TOPDIR}/mk/host-bottom.mk
  27. include ${ADK_TOPDIR}/mk/pkg-bottom.mk