Makefile 1.3 KB

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