Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:= owfs
  5. PKG_VERSION:= 2.9p1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 56ba145be208002e58775a7203369851
  8. PKG_DESCR:= software to access 1-wire devices
  9. PKG_SECTION:= misc
  10. PKG_BUILDDEP:= fuse
  11. PKG_URL:= http://owfs.org/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=owfs/}
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,OWFS,owfs,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. TARGET_CFLAGS+= -ldl -lrt -liconv
  17. CONFIGURE_ARGS+= --enable-owfs \
  18. --enable-usb \
  19. --disable-swig \
  20. --disable-owhttpd \
  21. --disable-owftpd \
  22. --disable-owcapi \
  23. --disable-owserver \
  24. --disable-owpython \
  25. --disable-owtcl \
  26. --disable-owperl \
  27. --disable-owphp \
  28. --with-fuseinclude=${STAGING_TARGET_DIR}/usr/include \
  29. --with-fuselib=${STAGING_TARGET_DIR}/usr/lib
  30. owfs-install:
  31. ${INSTALL_DIR} ${IDIR_OWFS}/usr/{bin,lib}
  32. ${CP} ${WRKINST}/usr/lib/libow*.so* \
  33. ${IDIR_OWFS}/usr/lib/
  34. ${INSTALL_BIN} ${WRKINST}/usr/bin/ow* \
  35. ${IDIR_OWFS}/usr/bin/
  36. include ${TOPDIR}/mk/pkg-bottom.mk