Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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:= fuse
  5. PKG_VERSION:= 2.9.3
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 0beb83eaf2c5e50730fc553406ef124d77bc02c64854631bdfc86bfd6437391c
  8. PKG_DESCR:= filesystem in userspace utility
  9. PKG_SECTION:= sys/fs
  10. PKG_DEPENDS:= libfuse
  11. PKG_URL:= http://fuse.sourceforge.net/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
  13. PKG_LIBNAME:= libfuse
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. PKG_BUILDDEP_UCLIBC:= libiconv-tiny
  17. PKG_SUBPKGS:= FUSE_UTILS LIBFUSE
  18. PKGSD_LIBFUSE:= filesystem in userspace library
  19. PKGSC_LIBFUSE:= libs/misc
  20. include ${ADK_TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,FUSE_UTILS,fuse-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. $(eval $(call PKG_template,LIBFUSE,libfuse,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBFUSE},${PKGSC_LIBFUSE},${PKG_OPTS}))
  23. CONFIGURE_ARGS+= --enable-lib \
  24. --enable-util \
  25. --with-libiconv-prefix="${STAGING_TARGET_DIR}/usr" \
  26. --disable-example \
  27. --disable-auto-modprobe \
  28. --disable-mtab \
  29. --disable-kernel-module
  30. fuse-utils-install:
  31. ${INSTALL_DIR} ${IDIR_FUSE_UTILS}/usr/bin
  32. ${CP} ${WRKINST}/usr/bin/fusermount ${IDIR_FUSE_UTILS}/usr/bin
  33. libfuse-install:
  34. ${INSTALL_DIR} ${IDIR_LIBFUSE}/usr/lib
  35. ${CP} ${WRKINST}/usr/lib/libfuse.so* \
  36. ${IDIR_LIBFUSE}/usr/lib
  37. ${CP} ${WRKINST}/usr/lib/libulockmgr.so* \
  38. ${IDIR_LIBFUSE}/usr/lib
  39. include ${ADK_TOPDIR}/mk/pkg-bottom.mk