
Receipt for package "i2c-tools"
# SliTaz package receipt. PACKAGE="i2c-tools" VERSION="4.3" CATEGORY="system-tools" SHORT_DESC="The i2c-tools provide a heterogeneous set of I2C tools for Linux." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://i2c.wiki.kernel.org/index.php/I2C_Tools" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://mirrors.edge.kernel.org/pub/software/utils/$PACKAGE/$TARBALL" DEPENDS="perl" HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { sed -i s"#^prefix =.*#prefix = /usr#" Makefile && make && make install \ PREFIX=/usr \ DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin cook_copy_folders sbin cook_copy_files *.so* }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)