Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= libXtst
  5. PKG_VERSION:= 1.2.1
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 99d7c7335439c00b8d1664d77f1ea2d857598a5ed52d32826d879cb3863cbb7a
  8. PKG_DESCR:= client interface to the record extension to the x protocol
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP+= recordproto libXi
  11. HOST_BUILDDEP:= recordproto-host xproto-host xextproto-host
  12. HOST_BUILDDEP+= inputproto-host kbproto-host xtrans-host
  13. HOST_BUILDDEP+= xcb-proto-host libXau-host libpthread-stubs-host
  14. HOST_BUILDDEP+= libX11-host libXext-host libXi-host libXtst-host
  15. PKG_SITES:= ${MASTER_SITE_XORG}
  16. PKG_LIBNAME:= libxtst
  17. PKG_OPTS:= dev
  18. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  19. include $(ADK_TOPDIR)/mk/host.mk
  20. include $(ADK_TOPDIR)/mk/package.mk
  21. $(eval $(call HOST_template,LIBXTST,libxtst,$(PKG_VERSION)-${PKG_RELEASE}))
  22. $(eval $(call PKG_template,LIBXTST,libxtst,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  23. HOST_STYLE:= auto
  24. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  25. libxtst-install:
  26. ${INSTALL_DIR} ${IDIR_LIBXTST}/usr/lib
  27. ${CP} ${WRKINST}/usr/lib/libXtst.so* ${IDIR_LIBXTST}/usr/lib
  28. include ${ADK_TOPDIR}/mk/host-bottom.mk
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk