wok-6.x view qlipper/receipt @ rev 25301

updated sg3_utils, sg3_utils-dev and libsgutils2 (1.45 -> 1.47)
author Hans-G?nter Theisgen
date Wed Jul 20 08:07:57 2022 +0100 (2022-07-20)
parents b569b85b0fb9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qlipper"
4 VERSION="2.0.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Clipboard history tool."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/pvanek/qlipper"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/pvanek/qlipper/archive/refs/tags/$VERSION.tar.gz"
13 DEPENDS="libQtGui libQtDBus libQtNetwork"
14 BUILD_DEPENDS="Qt4-dev cmake qmake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src && sed -i 's/ ON/ OFF/g' CMakeLists.txt
27 cmake \
28 -DCMAKE_BUILD_TYPE=release \
29 -DUSE_SYSTEM_QXT=0 \
30 -DCMAKE_INSTALL_PREFIX=/usr . &&
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }