Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 utility
  9. PKG_SECTION:= fs
  10. PKG_DEPENDS:= 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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. PKG_SUBPKGS:= FUSE_UTILS LIBFUSE
  18. PKGSD_LIBFUSE:= filesystem in userspace library
  19. PKGSC_LIBFUSE:= libs
  20. ifeq ($(ADK_STATIC),y)
  21. PKG_OPTS+= libmix
  22. endif
  23. include ${TOPDIR}/mk/package.mk
  24. $(eval $(call PKG_template,FUSE_UTILS,fuse-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  25. $(eval $(call PKG_template,LIBFUSE,libfuse,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBFUSE},${PKGSC_LIBFUSE},${PKG_OPTS}))
  26. CONFIGURE_ARGS+= --enable-lib \
  27. --enable-util \
  28. --with-libiconv-prefix="${STAGING_TARGET_DIR}/usr" \
  29. --disable-example \
  30. --disable-auto-modprobe \
  31. --disable-mtab \
  32. --disable-kernel-module
  33. fuse-utils-install:
  34. ${INSTALL_DIR} ${IDIR_FUSE_UTILS}/usr/bin
  35. ${CP} ${WRKINST}/usr/bin/fusermount ${IDIR_FUSE_UTILS}/usr/bin
  36. libfuse-install:
  37. ${INSTALL_DIR} ${IDIR_LIBFUSE}/usr/lib
  38. ${CP} ${WRKINST}/usr/lib/libfuse.so* \
  39. ${IDIR_LIBFUSE}/usr/lib
  40. ${CP} ${WRKINST}/usr/lib/libulockmgr.so* \
  41. ${IDIR_LIBFUSE}/usr/lib
  42. include ${TOPDIR}/mk/pkg-bottom.mk