wok rev 16391
Add: i2c-tools (for the Raspberry Pi GPIO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 15 14:19:15 2014 +0200 (2014-04-15) |
parents | d753d013d8bc |
children | ddb71f9fd845 |
files | i2c-tools-dev/receipt i2c-tools/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/i2c-tools-dev/receipt Tue Apr 15 14:19:15 2014 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="i2c-tools-dev" 1.7 +VERSION="3.1.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="I2C tools devel files" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://www.lm-sensors.org/wiki/I2CTools" 1.13 +HOST_ARCH="i486 arm" 1.14 + 1.15 +WANTED="i2c-tools" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr 1.21 + cp -a $install/usr/include $fs/usr 1.22 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/i2c-tools/receipt Tue Apr 15 14:19:15 2014 +0200 2.3 @@ -0,0 +1,27 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="i2c-tools" 2.7 +VERSION="3.1.1" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="The i2c-tools provide a heterogeneous set of I2C tools for Linux" 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +WEB_SITE="http://www.lm-sensors.org/wiki/I2CTools" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 +WGET_URL="http://dl.lm-sensors.org/$PACKAGE/releases/$TARBALL" 2.15 +HOST_ARCH="i486 arm" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + sed -i s"#^prefix =.*#prefix = /usr#" Makefile && 2.21 + make && make DESTDIR=${DESTDIR} install 2.22 +} 2.23 + 2.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.25 +genpkg_rules() 2.26 +{ 2.27 + mkdir -p $fs/usr 2.28 + cp -a $install/usr/bin $fs/usr 2.29 + cp -a $install/usr/sbin $fs/usr 2.30 +}