Makefile 1015 B

12345678910111213141516171819202122232425262728293031323334
  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:= 2
  7. PKG_MD5SUM:= 55d9906535d70a1de347cd3d3550ee87
  8. PKG_DESCR:= su do
  9. PKG_SECTION:= admin
  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-env-editor \
  16. --with-timedir=/var/run
  17. post-install:
  18. $(INSTALL_DIR) $(IDIR_SUDO)/usr/bin
  19. $(INSTALL_DIR) $(IDIR_SUDO)/usr/sbin
  20. $(INSTALL_DIR) $(IDIR_SUDO)/etc
  21. $(INSTALL_DATA) ./files/sudoers $(IDIR_SUDO)/etc
  22. chmod 440 $(IDIR_SUDO)/etc/sudoers
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/sudo \
  24. $(IDIR_SUDO)/usr/bin
  25. $(INSTALL_BIN) $(WRKINST)/usr/sbin/visudo \
  26. $(IDIR_SUDO)/usr/sbin
  27. include ${TOPDIR}/mk/pkg-bottom.mk