wok view i2c-tools/receipt @ rev 19021
Up tazusb (189)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 01 11:13:00 2016 +0200 (2016-04-01) |
parents | |
children | e3f377fbc5f0 |
line source
1 # SliTaz package receipt.
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"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://dl.lm-sensors.org/$PACKAGE/releases/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 sed -i s"#^prefix =.*#prefix = /usr#" Makefile &&
18 make && make DESTDIR=${DESTDIR} install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr
25 cp -a $install/usr/bin $fs/usr
26 cp -a $install/usr/sbin $fs/usr
27 }