wok-next view i2c-tools/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | c4e53a39395a |
children | a3c581bf52b8 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="i2c-tools"
4 VERSION="3.1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="The i2c-tools provide a heterogeneous set of I2C tools for Linux"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.lm-sensors.org/wiki/I2CTools"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://dl.lm-sensors.org/$PACKAGE/releases/$TARBALL"
14 SPLIT="i2c-tools-dev"
16 compile_rules() {
17 sed -i s"#^prefix =.*#prefix = /usr#" Makefile &&
18 make && make DESTDIR=${DESTDIR} install
19 }
21 genpkg_rules() {
22 case $PACKAGE in
23 i2c-tools)
24 mkdir -p $fs/usr
25 cp -a $install/usr/bin $fs/usr
26 cp -a $install/usr/sbin $fs/usr
27 ;;
28 *-dev)
29 mkdir -p $fs/usr
30 cp -a $install/usr/include $fs/usr
31 ;;
32 esac
33 }