1
0

Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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.9.3
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 33cae22ca50311446400daf8a6255c6a
  8. PKG_DESCR:= Filesystem in Userspace (utilities)
  9. PKG_SECTION:= fs
  10. PKG_DEPENDS:= kmod-fuse-fs libfuse
  11. PKG_BUILDDEP:= libiconv-tiny
  12. PKG_URL:= http://fuse.sourceforge.net/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
  14. PKG_LIBNAME:= libfuse
  15. PKG_OPTS:= dev
  16. PKG_SUBPKGS:= FUSE_UTILS LIBFUSE
  17. PKGSD_LIBFUSE:= FUSE library
  18. PKGSC_LIBFUSE:= libs
  19. ifeq ($(ADK_STATIC),y)
  20. PKG_OPTS+= libmix
  21. endif
  22. include ${TOPDIR}/mk/package.mk
  23. $(eval $(call PKG_template,FUSE_UTILS,fuse-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  24. $(eval $(call PKG_template,LIBFUSE,libfuse,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBFUSE},${PKGSC_LIBFUSE},${PKG_OPTS}))
  25. CONFIGURE_ARGS+= --enable-lib \
  26. --enable-util \
  27. --enable-example \
  28. --with-libiconv-prefix="${STAGING_TARGET_DIR}/usr" \
  29. --disable-auto-modprobe \
  30. --disable-mtab \
  31. --disable-kernel-module
  32. fuse-utils-install:
  33. ${INSTALL_DIR} ${IDIR_FUSE_UTILS}/usr/bin
  34. ${CP} ${WRKINST}/usr/bin/fusermount ${IDIR_FUSE_UTILS}/usr/bin
  35. libfuse-install:
  36. ${INSTALL_DIR} ${IDIR_LIBFUSE}/usr/lib
  37. ${CP} ${WRKINST}/usr/lib/libfuse.so* \
  38. ${IDIR_LIBFUSE}/usr/lib
  39. ${CP} ${WRKINST}/usr/lib/libulockmgr.so* \
  40. ${IDIR_LIBFUSE}/usr/lib
  41. include ${TOPDIR}/mk/pkg-bottom.mk