summaryrefslogtreecommitdiff
path: root/package/digitemp/Makefile
blob: a291c127c54b8f6a43ecb6b8961ecaaa1a2465e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		digitemp
PKG_VERSION:=		3.6.0
PKG_RELEASE:=		1
PKG_MD5SUM:=		9be2e48db37920f21925ae6e88f83b84
PKG_DESCR:=		program for reading values from 1-wire devices
PKG_SECTION:=		misc
PKG_DEPENDS:=		libusb
PKG_BUILDDEP+=		libusb libusb-compat
PKG_URL:=		http://www.digitemp.com/software/linux
PKG_SITES:=		http://www.digitemp.com/software/linux/

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,DIGITEMP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

TCFLAGS+=		-I./src -I./userial
ALL_TARGET=		ds2490
BUILD_STYLE:=		auto

do-install:
	${INSTALL_DIR} ${IDIR_DIGITEMP}/usr/sbin
	${INSTALL_BIN} ${WRKBUILD}/digitemp_DS2490 \
		${IDIR_DIGITEMP}/usr/sbin/digitemp_DS2490

include ${TOPDIR}/mk/pkg-bottom.mk