wok annotate i2c-tools/receipt @ rev 19575
Up tazlito (444)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 24 10:22:25 2016 +0100 (2016-12-24) |
parents | |
children | e3f377fbc5f0 |
rev | line source |
---|---|
pankso@16391 | 1 # SliTaz package receipt. |
pankso@16391 | 2 |
pankso@16391 | 3 PACKAGE="i2c-tools" |
pankso@16391 | 4 VERSION="3.1.1" |
pankso@16391 | 5 CATEGORY="system-tools" |
pankso@16391 | 6 SHORT_DESC="The i2c-tools provide a heterogeneous set of I2C tools for Linux" |
pankso@16391 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16391 | 8 LICENSE="GPL2" |
pankso@16391 | 9 WEB_SITE="http://www.lm-sensors.org/wiki/I2CTools" |
pankso@16391 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@16391 | 11 WGET_URL="http://dl.lm-sensors.org/$PACKAGE/releases/$TARBALL" |
pankso@16391 | 12 HOST_ARCH="i486 arm" |
pankso@16391 | 13 |
pankso@16391 | 14 # Rules to configure and make the package. |
pankso@16391 | 15 compile_rules() |
pankso@16391 | 16 { |
pankso@16391 | 17 sed -i s"#^prefix =.*#prefix = /usr#" Makefile && |
pankso@16391 | 18 make && make DESTDIR=${DESTDIR} install |
pankso@16391 | 19 } |
pankso@16391 | 20 |
pankso@16391 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16391 | 22 genpkg_rules() |
pankso@16391 | 23 { |
pankso@16391 | 24 mkdir -p $fs/usr |
pankso@16391 | 25 cp -a $install/usr/bin $fs/usr |
pankso@16391 | 26 cp -a $install/usr/sbin $fs/usr |
pankso@16391 | 27 } |