Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.5p2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 842170565e8893001a4e78e675322144
  8. PKG_DESCR:= A tool to access 1-wire devices
  9. PKG_SECTION:= admin
  10. PKG_URL:= http://owfs.org
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=owfs/}
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,OWFS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. INSTALL_STYLE:= manual
  15. CONFIGURE_ENV+= BUILD_CC=${TARGET_CC} \
  16. LD_EXTRALIBS="" \
  17. ac_cv_linux_vers=2 \
  18. td_cv_buggygetaddrinfo="no"
  19. CONFIGURE_ARGS+= --enable-owfs \
  20. --enable-usb \
  21. --disable-owhttpd \
  22. --disable-owftpd \
  23. --disable-owcapi \
  24. --disable-owserver
  25. ALL_TARGET:=
  26. do-install:
  27. ${INSTALL_DIR} ${IDIR_OWFS}/usr/{bin,lib}
  28. ${INSTALL_BIN} ${WRKBUILD}/module/owlib/src/c/.libs/libow.so.0.0.0 \
  29. ${IDIR_OWFS}/usr/lib/
  30. ${INSTALL_BIN} ${WRKBUILD}/module/owfs/src/c/.libs/owfs \
  31. ${IDIR_OWFS}/usr/bin/owfs
  32. include ${TOPDIR}/mk/pkg-bottom.mk