wok-next view i2c-tools/receipt @ rev 17935
syslinux (tiny edits)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Apr 13 19:10:05 2015 +0100 (2015-04-13) |
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 }