Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. PKG_ARCH_DEPENDS:= !m68k
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,XINIT,xinit,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. TARGET_CPPFLAGS+= -D_POSIX_SOURCE
  20. CONFIGURE_ARGS:= --without-launchd
  21. XAKE_FLAGS+= RAWCPP="$(TARGET_CROSS)cpp"
  22. xinit-install:
  23. $(INSTALL_DIR) $(IDIR_XINIT)/usr/bin
  24. $(INSTALL_BIN) $(WRKINST)/usr/bin/{xinit,startx} \
  25. $(IDIR_XINIT)/usr/bin/
  26. ${INSTALL_DIR} ${IDIR_XINIT}/usr/lib/X11/xinit
  27. ${INSTALL_DATA} ${WRKINST}/usr/lib/X11/xinit/xinitrc \
  28. ${IDIR_XINIT}/usr/lib/X11/xinit/
  29. include ${TOPDIR}/mk/pkg-bottom.mk