Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= cifs-utils
  5. PKG_VERSION:= 7.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 0defaab85bd3ea46ffc45ab41fb0d0ad54d05ae2cfaa7e503de86d4f12bc8161
  8. PKG_DESCR:= network filesystem utilities
  9. PKG_SECTION:= net/fs
  10. PKG_KDEPENDS:= cifs
  11. PKG_URL:= https://wiki.samba.org/index.php/LinuxCIFS_utils
  12. PKG_SITES:= https://ftp.samba.org/pub/linux-cifs/cifs-utils/
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,CIFS_UTILS,cifs-utils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. AUTOTOOL_STYLE:= autoreconf
  17. CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes
  18. CONFIGURE_ARGS+= --disable-cifsupcall \
  19. --disable-cifsidmap \
  20. --disable-cifsacl \
  21. --disable-pam \
  22. --disable-pie \
  23. --without-libcap \
  24. --disable-systemd
  25. cifs-utils-install:
  26. $(INSTALL_DIR) $(IDIR_CIFS_UTILS)/sbin
  27. $(INSTALL_BIN) $(WRKINST)/sbin/mount.cifs \
  28. $(IDIR_CIFS_UTILS)/sbin
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk