Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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.3
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 7a80ed7aba06668b12ebd0910318a1f1
  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:= autotool
  12. PKG_BUILDDEP+= libSM libX11 kbproto util-macros
  13. HOST_BUILDDEP:= util-macros-host libICE-host libSM-host
  14. PKG_SITES:= ${MASTER_SITE_XORG}
  15. PKG_LIBNAME:= libxt
  16. PKG_OPTS:= dev
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  18. include $(TOPDIR)/mk/host.mk
  19. include $(TOPDIR)/mk/package.mk
  20. $(eval $(call HOST_template,LIBXT,libxt,$(PKG_VERSION)-${PKG_RELEASE}))
  21. $(eval $(call PKG_template,LIBXT,libxt,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  22. HOST_STYLE:= auto
  23. AUTOTOOL_STYLE:= autoreconf
  24. CONFIGURE_ENV+= CFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)"
  25. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  26. libxt-install:
  27. ${INSTALL_DIR} ${IDIR_LIBXT}/usr/lib
  28. ${CP} ${WRKINST}/usr/lib/libXt.so* ${IDIR_LIBXT}/usr/lib
  29. include ${TOPDIR}/mk/host-bottom.mk
  30. include ${TOPDIR}/mk/pkg-bottom.mk