Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.7p38
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c287d96c629b5deb6c85e6a82eecdc8a
  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. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,OWFS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. TCFLAGS+= -ldl -lrt
  16. CONFIGURE_ARGS+= --enable-owfs \
  17. --enable-usb \
  18. --disable-swig \
  19. --disable-owhttpd \
  20. --disable-owftpd \
  21. --disable-owcapi \
  22. --disable-owserver \
  23. --disable-owpython \
  24. --disable-owtcl \
  25. --disable-owperl \
  26. --disable-owphp \
  27. --with-fuseinclude=${STAGING_DIR}/usr/include \
  28. --with-fuselib=${STAGING_DIR}/usr/lib
  29. post-install:
  30. ${INSTALL_DIR} ${IDIR_OWFS}/usr/{bin,lib}
  31. ${CP} ${WRKINST}/usr/lib/libow*.so* \
  32. ${IDIR_OWFS}/usr/lib/
  33. ${INSTALL_BIN} ${WRKINST}/usr/bin/ow* \
  34. ${IDIR_OWFS}/usr/bin/
  35. include ${TOPDIR}/mk/pkg-bottom.mk