### this file is sourced not run
PKGVER=4.3
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=i2c-tools-$PKGVER.tar.xz
MD5SUM=0c42800f746e064dc40a4dad44ed8a33
SRC_URL=https://mirrors.edge.kernel.org/pub/software/utils/i2c-tools/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="i2c-tools: i2c-tools $PKGVER (Linux i2c tools)
i2c-tools: 
i2c-tools: This package contains an heterogeneous set of I2C tools for the Linux 
i2c-tools: kernel as well as an I2C library. The tools were originally part of 
i2c-tools: the lm-sensors project but were finally split into their own package 
i2c-tools: for convenience.
i2c-tools: 
i2c-tools: Among other things, it includes decode-dimms. You may need to load
i2c-tools: module ee1004, at24, and eeprom to use it. 
i2c-tools: 
i2c-tools: https://i2c.wiki.kernel.org/index.php/I2C_Tools
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/i2c-tools* &&
	make BUILD_STATIC_LIB=0 && make install BUILD_STATIC_LIB=0 PREFIX=/usr &&
	pkg_build_slackdesc
}


