summaryrefslogtreecommitdiff
path: root/package/digitemp
diff options
context:
space:
mode:
Diffstat (limited to 'package/digitemp')
-rw-r--r--package/digitemp/Config.in17
-rw-r--r--package/digitemp/Makefile7
-rw-r--r--package/digitemp/patches/patch-Makefile12
3 files changed, 15 insertions, 21 deletions
diff --git a/package/digitemp/Config.in b/package/digitemp/Config.in
deleted file mode 100644
index 2c1152661..000000000
--- a/package/digitemp/Config.in
+++ /dev/null
@@ -1,17 +0,0 @@
-config ADK_PACKAGE_DIGITEMP
- prompt "digitemp.......................... Simple Tool to read 1-wire temperature sensors"
- tristate
- default n
- select ADK_PACKAGE_LIBUSB
- help
- DigiTemp is a simple to use program for reading values from
- 1-wire devices. Its main use is for reading temperature
- sensors, but it also reads counters, and understands the
- 1-wire hubs with devices on different branches of the
- network. DigiTemp now supports the following 1-wire
- temperature sensors: DS18S20 (and DS1820), DS18B20, DS1822,
- the DS2438 Smart Battery Monitor, DS2422 and DS2423
- Counters, DS2409 MicroLAN Coupler (used in 1-wire hubs), and
- the AAG TAI-8540 humidity sensor.
-
- http://www.digitemp.com/
diff --git a/package/digitemp/Makefile b/package/digitemp/Makefile
index 13cc6bedc..fc7a2bcc3 100644
--- a/package/digitemp/Makefile
+++ b/package/digitemp/Makefile
@@ -7,9 +7,10 @@ PKG_NAME:= digitemp
PKG_VERSION:= 3.6.0
PKG_RELEASE:= 1
PKG_MD5SUM:= 9be2e48db37920f21925ae6e88f83b84
-PKG_DESCR:= simple to use program for reading values from 1-wire devices
+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/
@@ -17,9 +18,11 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DIGITEMP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIG_STYLE:= manual
+INSTALL_STYLE:= manual
+
TCFLAGS+= -I./src -I./userial
ALL_TARGET= ds2490
-BUILD_STYLE= auto
do-install:
${INSTALL_DIR} ${IDIR_DIGITEMP}/usr/sbin
diff --git a/package/digitemp/patches/patch-Makefile b/package/digitemp/patches/patch-Makefile
index 10ac0c97f..4f19aaae2 100644
--- a/package/digitemp/patches/patch-Makefile
+++ b/package/digitemp/patches/patch-Makefile
@@ -1,6 +1,6 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+do not use static linking on Cygwin
--- digitemp-3.6.0.orig/Makefile 2008-08-28 23:37:00.000000000 +0200
-+++ digitemp-3.6.0/Makefile 2009-06-01 20:04:20.000000000 +0200
++++ digitemp-3.6.0/Makefile 2010-01-06 19:12:56.868375000 +0100
@@ -11,8 +11,8 @@
VERSION = 3.6.0
@@ -12,3 +12,11 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
OBJS = src/digitemp.o src/device_name.o src/ds2438.o
HDRS = src/digitemp.h src/device_name.h
+@@ -57,7 +57,6 @@ endif
+
+ ifneq (, $(findstring CYGWIN,$(SYSTYPE)))
+ CFLAGS += -DCYGWIN
+- LIBS += -static -static-libgcc
+ endif
+
+ ifeq ($(SYSTYPE), SunOS)