summaryrefslogtreecommitdiff
path: root/package/alix-temperature/Makefile
blob: 7fb906635a4c4288e72e1e90304d449702cb5190 (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
# 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