SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "qtfm"

# SliTaz package receipt.

PACKAGE="qtfm"
VERSION="5.9"
CATEGORY="x-window"
SHORT_DESC="Small and lightweight file manager using QT library"
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.zip"
WEB_SITE="https://qtfm.eu/"
# "official" is v.5.5, but here is newer:
# http://qt-apps.org/content/show.php/QtFM?content=158787
WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"

DEPENDS="libQtGui libQtNetwork libmagic"
BUILD_DEPENDS="cmake Qt4-dev qmake libmagic-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/rodlie/qtfm/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    lrelease $src/translations/*.ts
    qmake && make && make INSTALL_ROOT=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
    rm -rf $fs/usr/share/doc
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)