wok-6.x view qlipper/receipt @ rev 25563
New toolchain GCC 4.9.2, Glibc 2.19, Binutils 2.37
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri May 05 18:12:18 2023 +0200 (18 months ago) |
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 }