void-packages/srcpkgs/i2c-tools/template
2017-11-27 22:31:26 +01:00

24 lines
700 B
Bash

# Template file for 'i2c-tools'
pkgname=i2c-tools
version=4.0
revision=1
build_style=gnu-makefile
make_install_args="prefix=/usr sbindir=/usr/bin"
depends="perl"
short_desc="Heterogeneous set of I2C tools"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="https://packages.debian.org/sid/i2c-tools"
distfiles="${DEBIAN_SITE}/main/i/${pkgname}/${pkgname}_${version}.orig.tar.xz"
checksum=d900ca1c11c51ea20caa50b096f948008b8a7ad832311b23353e21baa7af28d6
disable_parallel_build=yes
i2c-tools-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}