wok view i2c-tools/receipt @ rev 21804

Up vlc (3.0.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 18:25:28 2019 +0200 (2019-08-15)
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 }