Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= digitemp
  5. PKG_VERSION:= 3.6.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 9be2e48db37920f21925ae6e88f83b84
  8. PKG_DESCR:= program for reading values from 1-wire devices
  9. PKG_SECTION:= misc
  10. PKG_DEPENDS:= libusb
  11. PKG_BUILDDEP:= libusb libusb-compat
  12. PKG_URL:= http://www.digitemp.com/software/linux/
  13. PKG_SITES:= http://www.digitemp.com/software/linux/
  14. PKG_LIBC_DEPENDS:= uclibc glibc
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,DIGITEMP,digitemp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIG_STYLE:= manual
  19. INSTALL_STYLE:= manual
  20. TARGET_CPPFLAGS+= -I./src -I./userial
  21. ALL_TARGET= ds2490
  22. do-install:
  23. ${INSTALL_DIR} ${IDIR_DIGITEMP}/usr/sbin
  24. ${INSTALL_BIN} ${WRKBUILD}/digitemp_DS2490 \
  25. ${IDIR_DIGITEMP}/usr/sbin/digitemp_DS2490
  26. include ${TOPDIR}/mk/pkg-bottom.mk