wok-6.x view i2c-tools/receipt @ rev 21030
updated hd2u (1.0.3 -> 1.0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 10 17:47:57 2019 +0100 (2019-03-10) |
parents | b98f8e00af61 |
children | aa5746f046ec |
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="https://i2c.wiki.kernel.org/index.php/I2C_Tools"
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 }