# Maintainer: PktSurf app=i2c-tools version=4.1 build=1sml homepage="https://i2c.wiki.kernel.org/index.php/I2C_Tools" download="https://mirrors.edge.kernel.org/pub/software/utils/i2c-tools/i2c-tools-$version.tar.gz" desc="Utilties to read and program data from I2C-protocol based sensors" requires="musl" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { make make install PREFIX="/usr" mandir="/usr/share/man" DESTDIR="$pkg" sbindir="/usr/bin" cp COPYING* $pkgdocs/ mkfinalpkg } sha512sums=" 476bd9172a57c20894c7e0b07e567fdc85e8c9b05697a839cddaff1ea45824843934581ed2fb738ced5bf273763e2429d27443edc89b725c3f4e98914732b1dc i2c-tools-4.1.tar.lz "