Makefile 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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:= 1
  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
  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. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,XORG_SERVER,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ENV+= V=1
  18. CONFIGURE_ARGS+= \
  19. --enable-dga \
  20. --enable-xorg \
  21. --enable-xv \
  22. --disable-aiglx \
  23. --disable-config-hal \
  24. --disable-dpms \
  25. --disable-dri \
  26. --disable-dri2 \
  27. --disable-glx \
  28. --disable-xace \
  29. --disable-xephyr \
  30. --disable-xf86bigfont \
  31. --disable-xf86vidmode \
  32. --disable-xfake \
  33. --disable-xfbdev \
  34. --disable-xinerama \
  35. --disable-xnest \
  36. --disable-xsdl \
  37. --disable-xselinux \
  38. --disable-xcsecurity \
  39. --disable-xvfb \
  40. --disable-xvmc \
  41. --with-xkb-output=/tmp \
  42. --with-os-vendor=OpenADK \
  43. --with-vendor-web="http://www.openadk.org"
  44. BUILD_STYLE:= auto
  45. INSTALL_STYLE:= auto
  46. post-install:
  47. $(INSTALL_DIR) $(IDIR_XORG_SERVER)/usr/bin
  48. $(INSTALL_DIR) $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/{extensions,fonts,linux,multimedia}
  49. ${CP} ${WRKINST}/usr/bin/* $(IDIR_XORG_SERVER)/usr/bin
  50. ${CP} ${WRKINST}/usr/lib/xorg/modules/*.so \
  51. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules
  52. ${CP} ${WRKINST}/usr/lib/xorg/modules/extensions/*.so \
  53. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/extensions
  54. ${CP} ${WRKINST}/usr/lib/xorg/modules/linux/*.so \
  55. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/linux
  56. ${CP} ${WRKINST}/usr/lib/xorg/modules/multimedia/*.so \
  57. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/multimedia
  58. include ${TOPDIR}/mk/pkg-bottom.mk