wok-current annotate qlipper/receipt @ rev 25042
Up lzsa (1.3.12), zstd (1.5.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 01 08:14:05 2022 +0000 (2022-06-01) |
parents | b569b85b0fb9 |
children |
rev | line source |
---|---|
psychomaniak@17122 | 1 # SliTaz package receipt. |
psychomaniak@17122 | 2 |
psychomaniak@17122 | 3 PACKAGE="qlipper" |
psychomaniak@17122 | 4 VERSION="2.0.2" |
psychomaniak@17122 | 5 CATEGORY="utilities" |
psychomaniak@17122 | 6 SHORT_DESC="Clipboard history tool." |
psychomaniak@17122 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@17122 | 8 LICENSE="GPL2" |
pascal@20679 | 9 WEB_SITE="https://github.com/pvanek/qlipper" |
pascal@24998 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24998 | 11 WGET_URL="https://github.com/pvanek/qlipper/archive/refs/tags/$VERSION.tar.gz" |
psychomaniak@17122 | 12 |
psychomaniak@17122 | 13 DEPENDS="libQtGui libQtDBus libQtNetwork" |
psychomaniak@17122 | 14 BUILD_DEPENDS="Qt4-dev cmake qmake" |
psychomaniak@17122 | 15 |
pascal@24308 | 16 # What is the latest version available today? |
pascal@24308 | 17 current_version() |
pascal@24308 | 18 { |
pascal@24308 | 19 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 21 } |
pascal@24308 | 22 |
psychomaniak@17122 | 23 # Rules to configure and make the package. |
psychomaniak@17122 | 24 compile_rules() |
psychomaniak@17122 | 25 { |
psychomaniak@17122 | 26 cd $src && sed -i 's/ ON/ OFF/g' CMakeLists.txt |
psychomaniak@17122 | 27 cmake \ |
psychomaniak@17122 | 28 -DCMAKE_BUILD_TYPE=release \ |
psychomaniak@17122 | 29 -DUSE_SYSTEM_QXT=0 \ |
psychomaniak@17122 | 30 -DCMAKE_INSTALL_PREFIX=/usr . && |
psychomaniak@17122 | 31 make && make DESTDIR=$DESTDIR install |
psychomaniak@17122 | 32 } |
psychomaniak@17122 | 33 |
psychomaniak@17122 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@17122 | 35 genpkg_rules() |
psychomaniak@17122 | 36 { |
psychomaniak@17122 | 37 cp -a $install/* $fs |
psychomaniak@17122 | 38 } |