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:= libXt
  5. PKG_VERSION:= 1.1.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 8b2639042ae28df4022b548d8154fdfb
  8. PKG_DESCR:= x toolkit intrinsics libraries
  9. PKG_SECTION:= x11/libs
  10. PKG_DEPENDS:= libsm libice libuuid libx11 libxau libxdmcp libxcb
  11. PKG_BUILDDEP:= libSM libX11 kbproto util-macros-host xproto-host
  12. HOST_BUILDDEP:= util-macros-host libICE-host libSM-host
  13. PKG_SITES:= ${MASTER_SITE_XORG}
  14. PKG_LIBNAME:= libxt
  15. PKG_OPTS:= dev
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. include $(TOPDIR)/mk/host.mk
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call HOST_template,LIBXT,libxt,$(PKG_VERSION)-${PKG_RELEASE}))
  20. $(eval $(call PKG_template,LIBXT,libxt,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. AUTOTOOL_STYLE:= autoreconf
  22. HOST_STYLE:= auto
  23. CONFIGURE_ENV+= CFLAGS_FOR_BUILD="$(HOST_CPPFLAGS) $(HOST_CFLAGS)"
  24. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  25. libxt-install:
  26. ${INSTALL_DIR} ${IDIR_LIBXT}/usr/lib
  27. ${CP} ${WRKINST}/usr/lib/libXt.so* ${IDIR_LIBXT}/usr/lib
  28. include ${TOPDIR}/mk/host-bottom.mk
  29. include ${TOPDIR}/mk/pkg-bottom.mk