Makefile 1.2 KB

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