forked from ports/contrib
21 lines
488 B
Plaintext
21 lines
488 B
Plaintext
# Description: I2C Tools for Linux
|
|
# URL: https://github.com/groeck/i2c-tools
|
|
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
|
# Packager: Mikhail Kolesnik, mike at openbunker dot org
|
|
# Depends on:
|
|
|
|
name=i2c-tools
|
|
version=3.1.0
|
|
release=1
|
|
source=(https://github.com/groeck/$name/archive/V${version//./-}.tar.gz)
|
|
|
|
build() {
|
|
cd $name-${version//./-}
|
|
sed -e 's|/usr/local|/usr|g' -i Makefile
|
|
|
|
make PREFIX=/usr
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/include
|
|
}
|