Makefile 991 B

123456789101112131415161718192021222324252627282930313233
  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:= sudo
  5. PKG_VERSION:= 1.7.4p4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 55d9906535d70a1de347cd3d3550ee87
  8. PKG_DESCR:= su do
  9. PKG_SECTION:= misc
  10. PKG_URL:= http://www.courtesan.com/sudo/
  11. PKG_SITES:= http://www.courtesan.com/sudo/dist/
  12. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,SUDO,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_ARGS+= --without-pam \
  15. --with-timedir=/var/run
  16. post-install:
  17. $(INSTALL_DIR) $(IDIR_SUDO)/usr/bin
  18. $(INSTALL_DIR) $(IDIR_SUDO)/usr/sbin
  19. $(INSTALL_DIR) $(IDIR_SUDO)/etc
  20. $(INSTALL_DATA) ./files/sudoers $(IDIR_SUDO)/etc
  21. chmod 440 $(IDIR_SUDO)/etc/sudoers
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/sudo \
  23. $(IDIR_SUDO)/usr/bin
  24. $(INSTALL_BIN) $(WRKINST)/usr/sbin/visudo \
  25. $(IDIR_SUDO)/usr/sbin
  26. include ${TOPDIR}/mk/pkg-bottom.mk