1
0

Makefile 1.1 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:= libXext
  5. PKG_VERSION:= 1.3.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 249478eae5c4fab7722894cb99565405
  8. PKG_DESCR:= X client interface to extensions of the X protocol
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= libX11 xextproto libXext-host
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_LIBNAME:= libxext
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. ifeq ($(ADK_STATIC),y)
  16. PKG_OPTS+= libonly
  17. endif
  18. include $(TOPDIR)/mk/host.mk
  19. include $(TOPDIR)/mk/package.mk
  20. $(eval $(call HOST_template,LIBXEXT,libxext,$(PKG_VERSION)-${PKG_RELEASE}))
  21. $(eval $(call PKG_template,LIBXEXT,libxext,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  22. HOST_STYLE:= auto
  23. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  24. libxext-install:
  25. ${INSTALL_DIR} ${IDIR_LIBXEXT}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/libXext.so* ${IDIR_LIBXEXT}/usr/lib/
  27. include ${TOPDIR}/mk/host-bottom.mk
  28. include ${TOPDIR}/mk/pkg-bottom.mk