
Receipt for package "lshw"
# SliTaz package receipt. PACKAGE="lshw" VERSION="B.02.19.2" CATEGORY="system-tools" SHORT_DESC="Hardware Lister." MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" WEB_SITE="https://ezix.org/project/wiki/HardwareLiSter" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://ezix.org/software/files/$TARBALL" DEPENDS="gcc-lib-base" # What is the latest version available today? current_version() { wget -O - https://ezix.org/src/pkg/lshw/tags 2>/dev/null | \ sed '/src\/tag/!d;s|.*">||;s|<.*||;q' } # Rules to configure and make the package. compile_rules() { sed -i 's/hwNode::hwNode/hwNode/' src/core/scsi.cc grep -qs 'define u8' src/core/scsi.cc src/core/burner.cc || sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ src/core/scsi.cc src/core/burner.cc make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders sbin cook_copy_folders lshw }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)