summaryrefslogtreecommitdiff
path: root/package/digitemp/Makefile
blob: ce8419d8c5e9c62c9382b14f2ef5b07a3a03329c (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
31
32
33
34
35
36
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${ADK_TOPDIR}/rules.mk

PKG_NAME:=		digitemp
PKG_VERSION:=		3.6.0
PKG_RELEASE:=		1
PKG_HASH:=		14cfc584cd3714fe8c9a2cdc8388be49e08b5e395d95e6bcd11d4410e2505ca2
PKG_DESCR:=		program for reading values from 1-wire devices
PKG_SECTION:=		sys/hw
PKG_DEPENDS:=		libusb
PKG_BUILDDEP:=		libusb libusb-compat
PKG_URL:=		http://www.digitemp.com/software/linux/
PKG_SITES:=		http://www.digitemp.com/software/linux/

PKG_LIBC_DEPENDS:=	uclibc glibc

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include ${ADK_TOPDIR}/mk/package.mk

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

CONFIG_STYLE:=		manual
INSTALL_STYLE:=		manual

TARGET_CPPFLAGS+=	-I./src -I./userial
ALL_TARGET=		ds2490

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

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