Makefile 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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_BUILDDEP+= libX11 randrproto renderproto fixesproto damageproto scrnsaverproto resourceproto fontsproto videoproto compositeproto evieext libxkbfile libXfont pixman libpciaccess openssl
  8. PKG_MD5SUM:= 913a672cbd6da516de15965d594e20b9
  9. PKG_DESCR:= Xorg server
  10. PKG_SECTION:= x11
  11. PKG_DEPENDS:= libopenssl
  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_ARGS+= \
  18. --enable-dga \
  19. --enable-xorg \
  20. --enable-xv \
  21. --disable-aiglx \
  22. --disable-config-hal \
  23. --disable-dpms \
  24. --disable-dri \
  25. --disable-dri2 \
  26. --disable-glx \
  27. --disable-xace \
  28. --disable-xephyr \
  29. --disable-xf86bigfont \
  30. --disable-xf86vidmode \
  31. --disable-xfake \
  32. --disable-xfbdev \
  33. --disable-xinerama \
  34. --disable-xnest \
  35. --disable-xsdl \
  36. --disable-xselinux \
  37. --disable-xcsecurity \
  38. --disable-xvfb \
  39. --disable-xvmc \
  40. --with-xkb-output=/tmp \
  41. --with-os-vendor=OpenADK \
  42. --with-vendor-web="http://www.openadk.org"
  43. BUILD_STYLE:= auto
  44. INSTALL_STYLE:= auto
  45. post-install:
  46. $(INSTALL_DIR) $(IDIR_XORG_SERVER)/usr/bin
  47. $(INSTALL_DIR) $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/{extensions,fonts,linux,multimedia}
  48. ${CP} ${WRKINST}/usr/bin/* $(IDIR_XORG_SERVER)/usr/bin
  49. ${CP} ${WRKINST}/usr/lib/xorg/modules/*.so \
  50. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules
  51. ${CP} ${WRKINST}/usr/lib/xorg/modules/extensions/*.so \
  52. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/extensions
  53. ${CP} ${WRKINST}/usr/lib/xorg/modules/linux/*.so \
  54. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/linux
  55. ${CP} ${WRKINST}/usr/lib/xorg/modules/multimedia/*.so \
  56. $(IDIR_XORG_SERVER)/usr/lib/xorg/modules/multimedia
  57. include ${TOPDIR}/mk/pkg-bottom.mk