Makefile 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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:= fuse
  5. PKG_VERSION:= 2.7.4
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 4879f06570d2225667534c37fea04213
  8. PKG_DESCR:= Filesystem in Userspace (utilities)
  9. PKG_SECTION:= fs
  10. PKG_DEPENDS:= kmod-fuse-fs libfuse
  11. PKG_URL:= http://fuse.sourceforge.net/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
  13. PKG_SUBPKGS:= FUSE_UTILS LIBFUSE LIBFUSE_DEV
  14. PKGSD_LIBFUSE:= FUSE library
  15. PKGSC_LIBFUSE:= libs
  16. PKGSD_LIBFUSE_DEV:= FUSE headers
  17. PKGSC_LIBFUSE_DEV:= devel
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,FUSE_UTILS,fuse-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. $(eval $(call PKG_template,LIBFUSE,libfuse,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBFUSE},${PKGSC_LIBFUSE}))
  21. $(eval $(call PKG_template,LIBFUSE_DEV,libfuse-dev,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBFUSE_DEV},${PKGSC_LIBFUSE_DEV}))
  22. CONFIGURE_ARGS+= --enable-lib \
  23. --enable-util \
  24. --enable-example \
  25. --with-libiconv-prefix="${STAGING_TARGET_DIR}/usr" \
  26. --disable-auto-modprobe \
  27. --disable-mtab \
  28. --disable-kernel-module
  29. fuse-utils-install:
  30. ${INSTALL_DIR} ${IDIR_FUSE_UTILS}/usr/bin
  31. ${CP} ${WRKINST}/usr/bin/fusermount ${IDIR_FUSE_UTILS}/usr/bin
  32. libfuse-install:
  33. ${INSTALL_DIR} ${IDIR_LIBFUSE}/usr/lib
  34. ${CP} ${WRKINST}/usr/lib/libfuse.so* \
  35. ${IDIR_LIBFUSE}/usr/lib
  36. ${CP} ${WRKINST}/usr/lib/libulockmgr.so* \
  37. ${IDIR_LIBFUSE}/usr/lib
  38. libfuse-dev-install:
  39. ${INSTALL_DIR} ${IDIR_LIBFUSE_DEV}/usr/lib/pkgconfig
  40. ${INSTALL_DIR} ${IDIR_LIBFUSE_DEV}/usr/include/fuse
  41. ${INSTALL_DATA} ${WRKINST}/usr/include/*.h \
  42. ${IDIR_LIBFUSE_DEV}/usr/include
  43. ${INSTALL_DATA} ${WRKINST}/usr/include/fuse/*.h \
  44. ${IDIR_LIBFUSE_DEV}/usr/include/fuse
  45. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/fuse.pc \
  46. ${IDIR_LIBFUSE_DEV}/usr/lib/pkgconfig
  47. include ${TOPDIR}/mk/pkg-bottom.mk