Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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.2.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 9beee7f603907840de9d9e73172e74d0
  8. PKG_DESCR:= X client interface to extensions of the X protocol
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= libX11 xextproto
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_SUBPKGS:= LIBXEXT LIBXEXT_DEV
  13. PKGSD_LIBXEXT_DEV:= X11 extension headers
  14. PKGSC_LIBXEXT_DEV:= x11/devel
  15. PKGSS_LIBXEXT_DEV:= xextproto
  16. ifeq ($(ADK_STATIC),y)
  17. PKG_OPTS:= libonly
  18. endif
  19. include $(TOPDIR)/mk/package.mk
  20. $(eval $(call PKG_template,LIBXEXT,libxext,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. $(eval $(call PKG_template,LIBXEXT_DEV,libxext-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS_LIBXEXT_DEV},${PKGSD_LIBXEXT_DEV},${PKGSC_LIBXEXT_DEV},${PKG_OPTS}))
  22. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  23. libxext-install:
  24. ${INSTALL_DIR} ${IDIR_LIBXEXT}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libXext.so* ${IDIR_LIBXEXT}/usr/lib/
  26. libxext-dev-install:
  27. ${INSTALL_DIR} ${IDIR_LIBXEXT_DEV}/usr/include/X11/extensions
  28. ${CP} ${WRKINST}/usr/include/X11/extensions/*.h \
  29. ${IDIR_LIBXEXT_DEV}/usr/include/X11/extensions
  30. ${INSTALL_DIR} ${IDIR_LIBXEXT_DEV}/usr/lib/pkgconfig
  31. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/xext.pc \
  32. ${IDIR_LIBXEXT_DEV}/usr/lib/pkgconfig
  33. include ${TOPDIR}/mk/pkg-bottom.mk