1
0

Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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
  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. ifeq ($(ADK_STATIC),y)
  16. PKG_OPTS:= libonly
  17. endif
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,LIBXEXT,libxext,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. $(eval $(call PKG_template,LIBXEXT_DEV,libxext-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXEXT_DEV},${PKGSC_LIBXEXT_DEV},${PKG_OPTS}))
  21. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  22. libxext-install:
  23. ${INSTALL_DIR} ${IDIR_LIBXEXT}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libXext.so* ${IDIR_LIBXEXT}/usr/lib/
  25. libxext-dev-install:
  26. ${INSTALL_DIR} ${IDIR_LIBXEXT_DEV}/usr/include/X11/extensions
  27. ${CP} ${WRKINST}/usr/include/X11/extensions/*.h \
  28. ${IDIR_LIBXEXT_DEV}/usr/include/X11/extensions
  29. ${INSTALL_DIR} ${IDIR_LIBXEXT_DEV}/usr/lib/pkgconfig
  30. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/xext.pc \
  31. ${IDIR_LIBXEXT_DEV}/usr/lib/pkgconfig
  32. include ${TOPDIR}/mk/pkg-bottom.mk