Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 through a fuse mounted fs
  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. CONFIGURE_STYLE:= gnu
  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. BUILD_STYLE:= auto
  26. ALL_TARGET:=
  27. do-install:
  28. ${INSTALL_DIR} ${IDIR_OWFS}/usr/{bin,lib}
  29. ${INSTALL_BIN} ${WRKBUILD}/module/owlib/src/c/.libs/libow.so.0.0.0 \
  30. ${IDIR_OWFS}/usr/lib/
  31. ${INSTALL_BIN} ${WRKBUILD}/module/owfs/src/c/.libs/owfs ${IDIR_OWFS}/usr/bin/owfs
  32. include ${TOPDIR}/mk/pkg-bottom.mk