1
0

Makefile 1006 B

1234567891011121314151617181920212223242526272829303132
  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:= libX11
  5. PKG_VERSION:= 1.1.5
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 2feb39a0de6f05b25c308268691d960c
  8. PKG_DESCR:= X11 client-side library
  9. PKG_SECTION:= x11
  10. PKG_SITES:= ${MASTER_SITE_XORG}
  11. include $(TOPDIR)/mk/package.mk
  12. $(eval $(call PKG_template,LIBX11,libx11,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. XAKE_FLAGS+= HOSTCPPFLAGS=-I${STAGING_DIR}/usr/include/xproto
  14. CONFIGURE_STYLE= gnu
  15. CONFIGURE_ARGS+= --enable-xlocale \
  16. --disable-xf86bigfont \
  17. --disable-malloc0returnsnull \
  18. --without-xcb
  19. BUILD_STYLE= auto
  20. INSTALL_STYLE= auto confprog
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_LIBX11}/usr/lib ${IDIR_LIBX11}/usr/share/X11
  23. ${CP} ${WRKINST}/usr/lib/libX11.so* ${IDIR_LIBX11}/usr/lib/
  24. ${CP} ${WRKINST}/usr/share/X11/XKeysymDB ${IDIR_LIBX11}/usr/share/X11
  25. include ${TOPDIR}/mk/pkg-bottom.mk