summaryrefslogtreecommitdiff
path: root/package/i2c-tools/Makefile
blob: ca5fb2efbed726d93977ecb8599bff82ebeea058 (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 $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		i2c-tools
PKG_VERSION:=		3.1.2
PKG_RELEASE:=		1
PKG_HASH:=		db5e69f2e2a6e3aa2ecdfe6a5f490b149c504468770f58921c8c5b8a7860a441
PKG_DESCR:=		i2c tools
PKG_SECTION:=		sys/hw
PKG_URL:=		http://www.lm-sensors.org/wiki/I2CTools
PKG_SITES:=		http://dl.lm-sensors.org/i2c-tools/releases/

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

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,I2C_TOOLS,i2c-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual

i2c-tools-install:
	$(INSTALL_DIR) $(IDIR_I2C_TOOLS)/usr/sbin
	$(INSTALL_BIN) $(WRKINST)/usr/sbin/i2c* \
		$(IDIR_I2C_TOOLS)/usr/sbin

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