Makefile 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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:= xorg-server
  5. PKG_VERSION:= 1.7.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 913a672cbd6da516de15965d594e20b9
  8. PKG_DESCR:= Xorg server
  9. PKG_SECTION:= x11
  10. PKG_DEPENDS:= libopenssl libxfont pixman libpciaccess libxkbfile libfontenc xkeyboard-config xkbcomp libxau libxaw libxmu libxpm libxrender libxt libxxf86dga libxext libxdmcp libxv libsm libice libx11
  11. PKG_BUILDDEP+= libX11 randrproto renderproto fixesproto damageproto scrnsaverproto resourceproto fontsproto videoproto compositeproto evieext libxkbfile libXfont pixman libpciaccess openssl xf86dgaproto
  12. PKG_URL:= http://www.x.org
  13. PKG_SITES:= ${MASTER_SITE_XORG}
  14. CFLINE_XORG_SERVER:= depends on ADK_TARGET_WITH_VGA
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,XORG_SERVER,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_STYLE:= gnu
  18. CONFIGURE_ENV+= V=1
  19. CONFIGURE_ARGS+= \
  20. --with-fontdir=/usr/share/fonts/X11 \
  21. --enable-dga \
  22. --enable-xorg \
  23. --enable-xv \
  24. --disable-aiglx \
  25. --disable-config-hal \
  26. --disable-dpms \
  27. --disable-dri \
  28. --disable-dri2 \
  29. --disable-glx \
  30. --disable-xace \
  31. --disable-xephyr \
  32. --disable-xf86bigfont \
  33. --disable-xf86vidmode \
  34. --disable-xfake \
  35. --disable-xfbdev \
  36. --disable-xinerama \
  37. --disable-xnest \
  38. --disable-xsdl \
  39. --disable-xselinux \
  40. --disable-xcsecurity \
  41. --disable-xvfb \
  42. --disable-xvmc \
  43. --with-xkb-output=/tmp \
  44. --with-os-vendor=OpenADK \
  45. --with-vendor-web="http://openadk.org"
  46. BUILD_STYLE:= auto
  47. INSTALL_STYLE:= auto
  48. post-install:
  49. $(INSTALL_DIR) $(IDIR_XORG_SERVER)/usr/bin
  50. $(INSTALL_DIR) $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/{extensions,fonts,linux,multimedia}
  51. ${CP} ${WRKINST}/usr/lib/xorg/protocol.txt \
  52. $(IDIR_XORG_SERVER)/usr/lib/xorg/
  53. ${CP} ${WRKINST}/usr/bin/* $(IDIR_XORG_SERVER)/usr/bin
  54. ${CP} ${WRKINST}/usr/lib/xorg/modules/*.so \
  55. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules
  56. ${CP} ${WRKINST}/usr/lib/xorg/modules/extensions/*.so \
  57. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/extensions
  58. ${CP} ${WRKINST}/usr/lib/xorg/modules/linux/*.so \
  59. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/linux
  60. ${CP} ${WRKINST}/usr/lib/xorg/modules/multimedia/*.so \
  61. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/multimedia
  62. include ${TOPDIR}/mk/pkg-bottom.mk