wok annotate i2c-tools/receipt @ rev 23317

updated perl-devel-checklib (1.13 -> 1.14)
author Hans-G?nter Theisgen
date Mon Mar 30 15:44:27 2020 +0100 (2020-03-30)
parents e3f377fbc5f0
children 71360a13cd94
rev   line source
pankso@16391 1 # SliTaz package receipt.
pankso@16391 2
pankso@16391 3 PACKAGE="i2c-tools"
Hans-G?nter@21038 4 VERSION="4.1"
pankso@16391 5 CATEGORY="system-tools"
Hans-G?nter@21038 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"
pascal@20673 9 WEB_SITE="https://i2c.wiki.kernel.org/index.php/I2C_Tools"
Hans-G?nter@21038 10
Hans-G?nter@21038 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21038 12 WGET_URL="https://mirrors.edge.kernel.org/pub/software/utils/$PACKAGE/$TARBALL"
Hans-G?nter@21038 13
pankso@16391 14 HOST_ARCH="i486 arm"
pankso@16391 15
pankso@16391 16 # Rules to configure and make the package.
pankso@16391 17 compile_rules()
pankso@16391 18 {
pankso@16391 19 sed -i s"#^prefix =.*#prefix = /usr#" Makefile &&
Hans-G?nter@21038 20
Hans-G?nter@21038 21 make -j 1 &&
Hans-G?nter@21038 22 make PREFIX=/usr DESTDIR=$DESTDIR install
pankso@16391 23 }
pankso@16391 24
pankso@16391 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16391 26 genpkg_rules()
pankso@16391 27 {
pankso@16391 28 mkdir -p $fs/usr
Hans-G?nter@21038 29
Hans-G?nter@21038 30 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21038 31 cp -a $install/usr/sbin $fs/usr
pankso@16391 32 }