Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 ${ADK_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 neon
  11. PKG_BUILDDEP:= 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. PKG_BUILDDEP_UCLIBC:= libiconv-tiny
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. include ${ADK_TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,DAVFS2,davfs2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_ARGS+= --with-neon
  20. CONFIGURE_ENV+= LIBS=-liconv
  21. davfs2-install:
  22. ${INSTALL_DIR} ${IDIR_DAVFS2}/etc/davfs2
  23. ${INSTALL_DIR} ${IDIR_DAVFS2}/usr/sbin
  24. $(CP) ${WRKINST}/etc/davfs2/{davfs2.conf,secrets} \
  25. ${IDIR_DAVFS2}/etc/davfs2
  26. ${INSTALL_BIN} ${WRKINST}/usr/sbin/mount.davfs \
  27. ${IDIR_DAVFS2}/usr/sbin
  28. ${INSTALL_BIN} ${WRKINST}/usr/sbin/umount.davfs \
  29. ${IDIR_DAVFS2}/usr/sbin
  30. include ${ADK_TOPDIR}/mk/pkg-bottom.mk