Makefile 988 B

12345678910111213141516171819202122232425262728293031323334
  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. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,DIGITEMP,digitemp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. TARGET_CPPFLAGS+= -I./src -I./userial
  20. ALL_TARGET= ds2490
  21. do-install:
  22. ${INSTALL_DIR} ${IDIR_DIGITEMP}/usr/sbin
  23. ${INSTALL_BIN} ${WRKBUILD}/digitemp_DS2490 \
  24. ${IDIR_DIGITEMP}/usr/sbin/digitemp_DS2490
  25. include ${TOPDIR}/mk/pkg-bottom.mk