SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "qdirstat"

# SliTaz package receipt.

PACKAGE="qdirstat"
VERSION="1.5"
CATEGORY="base-system"
SHORT_DESC="Tools for inspecting and visualizing disk usage."
MAINTAINER="xavileonf@gmail.com"
LICENSE="LGPL3"
WEB_SITE="https://github.com/shundhammer/qdirstat/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/shundhammer/$PACKAGE/archive/$VERSION/$TARBALL"

DEPENDS="qt4"
BUILD_DEPENDS="Qt4-dev qmake"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
        export QMAKESPC=/usr/share/qt/mkspecs/linux-g++
    patch --strip=1 --input=$stuff/patches/qdirstat-1.5.patch &&
    qmake INSTALL_PREFIX=$DESTDIR/usr &&
    make install
}

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

    cp -a $install/usr/bin            $fs/usr
    cp -a $install/usr/share/man        $fs/usr/share
    cp -a $install/usr/share/icons        $fs/usr/share
    cp -a $install/usr/share/applications    $fs/usr/share
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)