wok-next view i2c-tools/receipt @ rev 20458
Unlock x86_64 architecture
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 12:12:14 2018 +0200 (2018-03-02) |
parents | b98f8e00af61 |
children | e323d0535e2c |
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 sed -i s"#^prefix =.*#prefix = /usr#" Makefile &&
17 make && make DESTDIR=${DESTDIR} install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr
24 cp -a $install/usr/bin $fs/usr
25 cp -a $install/usr/sbin $fs/usr
26 }