i2c-tools: update to 4.0.

This commit is contained in:
maxice8 2017-11-27 15:11:35 -02:00 committed by Leаh Neukirchen
parent c25d707c96
commit d6d2c2a39f
3 changed files with 14 additions and 6 deletions

View File

@ -2907,3 +2907,4 @@ libzinnia.so.0 libzinnia-0.06_1
libmega.so.30207 libmega-3.2.7_1
libopenglrecorder.so.0 libopenglrecorder-0.1.0_1
libgpod.so.4 libgpod-0.8.3_1
libi2c.so.0 i2c-tools-4.0_1

1
srcpkgs/i2c-tools-devel Symbolic link
View File

@ -0,0 +1 @@
i2c-tools

View File

@ -1,17 +1,23 @@
# Template file for 'i2c-tools'
pkgname=i2c-tools
version=3.1.2
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="Christian Neukirchen <chneukirchen@gmail.com>"
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.bz2"
checksum=db5e69f2e2a6e3aa2ecdfe6a5f490b149c504468770f58921c8c5b8a7860a441
distfiles="${DEBIAN_SITE}/main/i/${pkgname}/${pkgname}_${version}.orig.tar.xz"
checksum=d900ca1c11c51ea20caa50b096f948008b8a7ad832311b23353e21baa7af28d6
post_install() {
rm -rf ${DESTDIR}/usr/include
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"
}
}