2008-02-15 10:56:53 +01:00
|
|
|
# Description: I2C Tools for Linux
|
2016-08-18 11:53:34 +02:00
|
|
|
# URL: https://github.com/groeck/i2c-tools
|
2017-12-29 11:29:55 +01:00
|
|
|
# Maintainer: Unmaintained
|
2008-02-15 10:56:53 +01:00
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=i2c-tools
|
2017-12-29 11:29:55 +01:00
|
|
|
version=4.0
|
2008-02-15 10:56:53 +01:00
|
|
|
release=1
|
2017-12-29 11:29:55 +01:00
|
|
|
source=(https://www.kernel.org/pub/software/utils/i2c-tools/i2c-tools-$version.tar.xz)
|
2008-02-15 10:56:53 +01:00
|
|
|
|
|
|
|
build() {
|
2017-12-29 11:29:55 +01:00
|
|
|
cd $name-$version
|
2016-08-18 11:53:34 +02:00
|
|
|
sed -e 's|/usr/local|/usr|g' -i Makefile
|
|
|
|
|
|
|
|
make PREFIX=/usr
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/include
|
2008-02-15 10:56:53 +01:00
|
|
|
}
|