1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.1
  6. PKG_RELEASE:= 5
  7. PKG_MD5SUM:= f83ef48ab1154aa74dd4cf1c1202bf04
  8. PKG_DESCR:= CIFS utilities
  9. PKG_SECTION:= net/fs
  10. PKG_DEPENDS:= kmod-cifs kmod-nls-utf8
  11. PKG_BUILDDEP:= autotool
  12. PKG_URL:= https://wiki.samba.org/index.php/LinuxCIFS_utils
  13. PKG_SITES:= ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,CIFS_UTILS,cifs-utils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. ifeq ($(ADK_STATIC),y)
  18. TARGET_LDFLAGS+= -static
  19. endif
  20. AUTOTOOL_STYLE:= autoreconf
  21. CONFIGURE_ARGS+= --disable-cifsupcall \
  22. --disable-cifsidmap \
  23. --disable-cifsacl \
  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 ${TOPDIR}/mk/pkg-bottom.mk