summaryrefslogtreecommitdiff
path: root/package/alix-temperature/Makefile
diff options
context:
space:
mode:
authorwarhog <warhog@gmx.de>2011-05-28 15:15:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-05-30 14:58:11 +0200
commit148dd71e1391602e4bd216c0bf3311baebb031f4 (patch)
treee79a17269922c9d82989251d4280711ba8d41af3 /package/alix-temperature/Makefile
parent29309d77022616b497b68581fd0bc7b0af0084a9 (diff)
new package alix-temperature
Signed-off-by: warhog <warhog@gmx.de>
Diffstat (limited to 'package/alix-temperature/Makefile')
-rw-r--r--package/alix-temperature/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/alix-temperature/Makefile b/package/alix-temperature/Makefile
new file mode 100644
index 000000000..7fb906635
--- /dev/null
+++ b/package/alix-temperature/Makefile
@@ -0,0 +1,28 @@
+# 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:= alix-temperature
+PKG_VERSION:= 1.0
+PKG_RELEASE:= 1
+PKG_DESCR:= read alix boards i2c thermal sensor
+PKG_SECTION:= utils
+PKG_DEPENDS:= i2c-tools
+
+PKG_CFLINE_ALIX_TEMPERATURE:=depends on (ADK_TARGET_SYSTEM_PCENGINES_ALIX2D2 || ADK_TARGET_SYSTEM_PCENGINES_ALIX2D13)
+NO_DISTFILES:= 1
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,ALIX_TEMPERATURE,alix-temperature,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+alix-temperature-install:
+ $(INSTALL_DIR) $(IDIR_ALIX_TEMPERATURE)/usr/sbin
+ $(INSTALL_BIN) ./files/alix-temperature $(IDIR_ALIX_TEMPERATURE)/usr/sbin
+
+include ${TOPDIR}/mk/pkg-bottom.mk