2008-02-15 11:56:53 +02:00
|
|
|
# Description: I2C Tools for Linux
|
2016-08-18 11:53:34 +02:00
|
|
|
# URL: https://github.com/groeck/i2c-tools
|
2008-11-11 16:46:37 +01:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
|
|
|
# Packager: Mikhail Kolesnik, mike at openbunker dot org
|
2008-02-15 11:56:53 +02:00
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=i2c-tools
|
2011-12-05 13:31:36 +01:00
|
|
|
version=3.1.0
|
2008-02-15 11:56:53 +02:00
|
|
|
release=1
|
2016-08-18 11:53:34 +02:00
|
|
|
source=(https://github.com/groeck/$name/archive/V${version//./-}.tar.gz)
|
2008-02-15 11:56:53 +02:00
|
|
|
|
|
|
|
build() {
|
2016-08-18 11:53:34 +02:00
|
|
|
cd $name-${version//./-}
|
|
|
|
sed -e 's|/usr/local|/usr|g' -i Makefile
|
|
|
|
|
|
|
|
make PREFIX=/usr
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/include
|
2008-02-15 11:56:53 +02:00
|
|
|
}
|