Makefile 1.2 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= libXtst
  5. PKG_VERSION:= 1.2.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 8918809e47c29b44d25eb16b1586a15b
  8. PKG_DESCR:= Xtst library
  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 $(TOPDIR)/mk/host.mk
  20. include $(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 ${TOPDIR}/mk/host-bottom.mk
  29. include ${TOPDIR}/mk/pkg-bottom.mk