Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= xinit
  5. PKG_VERSION:= 1.2.1
  6. PKG_RELEASE:= 5
  7. PKG_MD5SUM:= 7ad82221ebd6600a8d33712ec3b62efb
  8. PKG_DESCR:= X Window System initializer
  9. PKG_SECTION:= x11/apps
  10. PKG_DEPENDS:= xorg-server mcookie xauth xset xterm
  11. PKG_BUILDDEP:= xorg-server
  12. PKG_URL:= http://xorg.freedesktop.org/
  13. PKG_SITES:= http://xorg.freedesktop.org/archive/individual/app/
  14. PKG_NEED_CXX:= 1
  15. PKG_ARCH_DEPENDS:= !m68k
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,XINIT,xinit,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. TARGET_CPPFLAGS+= -D_POSIX_SOURCE
  19. CONFIGURE_ARGS:= --without-launchd
  20. XAKE_FLAGS+= RAWCPP="$(TARGET_CROSS)cpp"
  21. xinit-install:
  22. $(INSTALL_DIR) $(IDIR_XINIT)/usr/bin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/{xinit,startx} \
  24. $(IDIR_XINIT)/usr/bin/
  25. ${INSTALL_DIR} ${IDIR_XINIT}/usr/lib/X11/xinit
  26. ${INSTALL_DATA} ${WRKINST}/usr/lib/X11/xinit/xinitrc \
  27. ${IDIR_XINIT}/usr/lib/X11/xinit/
  28. include ${TOPDIR}/mk/pkg-bottom.mk