wok diff i2c-tools/receipt @ rev 19091

Add brower-html5 virtual package
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 10:11:21 2016 +0200 (2016-05-01)
parents
children e3f377fbc5f0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/i2c-tools/receipt	Sun May 01 10:11:21 2016 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="i2c-tools"
     1.7 +VERSION="3.1.1"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="The i2c-tools provide a heterogeneous set of I2C tools for Linux"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://www.lm-sensors.org/wiki/I2CTools"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WGET_URL="http://dl.lm-sensors.org/$PACKAGE/releases/$TARBALL"
    1.15 +HOST_ARCH="i486 arm"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	sed -i s"#^prefix	=.*#prefix	= /usr#" Makefile &&
    1.21 +	make && make DESTDIR=${DESTDIR} install
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr
    1.28 +	cp -a $install/usr/bin $fs/usr
    1.29 +	cp -a $install/usr/sbin $fs/usr
    1.30 +}