SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libatasmart"

# SliTaz package receipt.

PACKAGE="libatasmart"
VERSION="0.19"
CATEGORY="system-tools"
SHORT_DESC="A disk reporting library."
MAINTAINER="pankso@slitaz.org"
LICENSE="LGPL2.1"
WEB_SITE="http://0pointer.de/blog/projects/being-smart.html"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="http://0pointer.de/public/$TARBALL"

DEPENDS="udev"
BUILD_DEPENDS="udev-dev"

current_version()
{
    wget -O - http://git.0pointer.net/$PACKAGE.git/ 2>/dev/null | \
    sed '/tag.?h=v/!d;s|.*tag.?h=v||;s|.>.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --disable-static    \
        $CONFIGURE_ARGS &&
    make -j 1 &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib

    cp -a $install/usr/lib/*.so*    $fs/usr/lib
    cp -a $install/usr/sbin        $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)