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

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents a3c581bf52b8
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="i2c-tools"
4 VERSION="3.1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Heterogeneous set of I2C tools for Linux"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://i2c.wiki.kernel.org/index.php/I2C_Tools"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://dl.lm-sensors.org/$PACKAGE/releases/$TARBALL" # FIXME
14 SPLIT="$PACKAGE-dev"
16 compile_rules() {
17 sed -i s"#^prefix =.*#prefix = /usr#" Makefile
19 make &&
20 make DESTDIR=$install install
21 }
23 genpkg_rules() {
24 case $PACKAGE in
25 i2c-tools) copy @std;;
26 *-dev) copy @dev;;
27 esac
28 }