SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "hardinfo"

# SliTaz package receipt.

PACKAGE="hardinfo"
VERSION="0.5.1"
CATEGORY="system-tools"
SHORT_DESC="A tool to get hardware informations and perform benchmarks."
MAINTAINER="pankso@slitaz.org"
DEPENDS="gtk+ pciutils xorg-libXdamage"
BUILD_DEPENDS="gtk+ gtk+-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://hardinfo.berlios.de/"
WGET_URL="http://download.berlios.de/hardinfo/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    while read file; do
        [ -f done.$file ] && continue
        patch -p0 < $stuff/$file || return 1
        touch done.$file
    done <<EOT
languages.patch
os.patch
EOT
    ./configure \
        --prefix=/usr \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
    cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    cd $fs/usr/share/pixmaps
    rm ../$PACKAGE/pixmaps/logo.xcf
    ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)