SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "qlipper"

# SliTaz package receipt.

PACKAGE="qlipper"
VERSION="2.0.2"
CATEGORY="utilities"
SHORT_DESC="Clipboard history tool."
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="GPL2"
WEB_SITE="https://github.com/pvanek/qlipper"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/pvanek/qlipper/archive/refs/tags/$VERSION.tar.gz"

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

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src && sed -i 's/ ON/ OFF/g' CMakeLists.txt
    cmake \
        -DCMAKE_BUILD_TYPE=release \
        -DUSE_SYSTEM_QXT=0 \
        -DCMAKE_INSTALL_PREFIX=/usr . &&
    make && make DESTDIR=$DESTDIR install
}

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