wok view i2c-tools/receipt @ rev 22986
cookutils: add check-wok
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 01 12:47:04 2020 +0100 (2020-03-01) |
parents | e3f377fbc5f0 |
children | 71360a13cd94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="i2c-tools"
4 VERSION="4.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"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://mirrors.edge.kernel.org/pub/software/utils/$PACKAGE/$TARBALL"
14 HOST_ARCH="i486 arm"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i s"#^prefix =.*#prefix = /usr#" Makefile &&
21 make -j 1 &&
22 make PREFIX=/usr DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/sbin $fs/usr
32 }