1
0

Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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_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= ${MASTER_SITE_SOURCEFORGE:=dav/}
  16. include ${TOPDIR}/mk/package.mk
  17. ifeq (${ADK_PACKAGE_DAVFS2_FUSE},y)
  18. PKG_DEPENDS:= fuse-utils kmod-fuse-fs libiconv neon
  19. else ifeq (${ADK_PACKAGE_DAVFS2_CODA},y)
  20. PKG_DEPENDS:= kmod-coda-fs libiconv neon
  21. else
  22. PKG_DEPENDS:= kmod-coda-fs fuse-utils kmod-fuse-fs libiconv neon
  23. endif
  24. $(eval $(call PKG_template,DAVFS2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  25. CONFIGURE_STYLE= gnu
  26. CONFIGURE_ARGS+= --with-neon
  27. CONFIGURE_ENV+= LIBS=-liconv
  28. BUILD_STYLE= auto
  29. INSTALL_STYLE= auto
  30. post-install:
  31. ${INSTALL_DIR} ${IDIR_DAVFS2}/etc/davfs2
  32. ${INSTALL_DIR} ${IDIR_DAVFS2}/usr/sbin
  33. $(CP) ${WRKINST}/etc/davfs2/{davfs2.conf,secrets} \
  34. ${IDIR_DAVFS2}/etc/davfs2
  35. ${INSTALL_BIN} ${WRKINST}/usr/sbin/mount.davfs \
  36. ${IDIR_DAVFS2}/usr/sbin
  37. ${INSTALL_BIN} ${WRKINST}/usr/sbin/umount.davfs \
  38. ${IDIR_DAVFS2}/usr/sbin
  39. include ${TOPDIR}/mk/pkg-bottom.mk