wok-next view i2c-tools/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents
children c4e53a39395a
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 }