Makefile 1.1 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= cifs-utils
  5. PKG_VERSION:= 6.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 93697dbc043cb4d5c66e15e281f872e5
  8. PKG_DESCR:= CIFS network filesystem utilities
  9. PKG_SECTION:= net/fs
  10. PKG_BUILDDEP:= autotool
  11. PKG_URL:= https://wiki.samba.org/index.php/LinuxCIFS_utils
  12. PKG_SITES:= ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,CIFS_UTILS,cifs-utils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. ifeq ($(ADK_STATIC),y)
  17. TARGET_LDFLAGS+= -static
  18. endif
  19. AUTOTOOL_STYLE:= autoreconf
  20. CONFIGURE_ARGS+= --disable-cifsupcall \
  21. --disable-cifsidmap \
  22. --disable-cifsacl \
  23. --disable-pie \
  24. --without-libcap \
  25. --disable-systemd
  26. cifs-utils-install:
  27. $(INSTALL_DIR) $(IDIR_CIFS_UTILS)/sbin
  28. $(INSTALL_BIN) $(WRKINST)/sbin/mount.cifs \
  29. $(IDIR_CIFS_UTILS)/sbin
  30. include ${TOPDIR}/mk/pkg-bottom.mk