Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:= davfs2
  5. PKG_VERSION:= 1.4.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c9e8aeb15daeba4b6283b40bb640e908
  8. PKG_DESCR:= WebDAV filesystem
  9. PKG_SECTION:= net/fs
  10. PKG_BUILDDEP+= libiconv neon
  11. ifneq (${ADK_PACKAGE_DAVFS2_FUSE}${ADK_PACKAGE_DAVFS2_BOTH},)
  12. PKG_BUILDDEP+= fuse
  13. endif
  14. PKG_URL:= http://savannah.nongnu.org/projects/davfs2
  15. PKG_SITES:= http://www.very-clever.com/download/nongnu/davfs2/
  16. ifeq (${ADK_PACKAGE_DAVFS2_FUSE},y)
  17. PKG_DEPENDS:= fuse-utils kmod-fuse-fs libiconv neon
  18. else ifeq (${ADK_PACKAGE_DAVFS2_CODA},y)
  19. PKG_DEPENDS:= kmod-coda-fs libiconv neon
  20. else
  21. PKG_DEPENDS:= kmod-coda-fs fuse-utils kmod-fuse-fs libiconv neon
  22. endif
  23. include ${TOPDIR}/mk/package.mk
  24. $(eval $(call PKG_template,DAVFS2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  25. CONFIGURE_ARGS+= --with-neon
  26. CONFIGURE_ENV+= LIBS=-liconv
  27. post-install:
  28. ${INSTALL_DIR} ${IDIR_DAVFS2}/etc/davfs2
  29. ${INSTALL_DIR} ${IDIR_DAVFS2}/usr/sbin
  30. $(CP) ${WRKINST}/etc/davfs2/{davfs2.conf,secrets} \
  31. ${IDIR_DAVFS2}/etc/davfs2
  32. ${INSTALL_BIN} ${WRKINST}/usr/sbin/mount.davfs \
  33. ${IDIR_DAVFS2}/usr/sbin
  34. ${INSTALL_BIN} ${WRKINST}/usr/sbin/umount.davfs \
  35. ${IDIR_DAVFS2}/usr/sbin
  36. include ${TOPDIR}/mk/pkg-bottom.mk