Makefile 973 B

123456789101112131415161718192021222324252627282930
  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:= 2
  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 libSM libX11 kbproto util-macros
  12. PKG_SITES:= ${MASTER_SITE_XORG}
  13. PKG_LIBNAME:= libxt
  14. PKG_OPTS:= dev
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBXT,libxt,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. AUTOTOOL_STYLE:= autoreconf
  18. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  19. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  20. libxt-install:
  21. ${INSTALL_DIR} ${IDIR_LIBXT}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libXt.so* ${IDIR_LIBXT}/usr/lib
  23. include ${TOPDIR}/mk/pkg-bottom.mk