Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c75f9d7d260e7364362b89beba2b3186
  8. PKG_DESCR:= WebDAV filesystem
  9. PKG_SECTION:= net/fs
  10. PKG_DEPENDS:= fuse-utils kmod-fuse-fs neon
  11. PKG_BUILDDEP:= libiconv-tiny neon fuse
  12. PKG_URL:= http://savannah.nongnu.org/projects/davfs2/
  13. PKG_SITES:= http://download.savannah.gnu.org/releases/davfs2/
  14. PKG_LIBC_DEPENDS:= uclibc glibc
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,DAVFS2,davfs2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_ARGS+= --with-neon
  19. CONFIGURE_ENV+= LIBS=-liconv
  20. davfs2-install:
  21. ${INSTALL_DIR} ${IDIR_DAVFS2}/etc/davfs2
  22. ${INSTALL_DIR} ${IDIR_DAVFS2}/usr/sbin
  23. $(CP) ${WRKINST}/etc/davfs2/{davfs2.conf,secrets} \
  24. ${IDIR_DAVFS2}/etc/davfs2
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/mount.davfs \
  26. ${IDIR_DAVFS2}/usr/sbin
  27. ${INSTALL_BIN} ${WRKINST}/usr/sbin/umount.davfs \
  28. ${IDIR_DAVFS2}/usr/sbin
  29. include ${TOPDIR}/mk/pkg-bottom.mk