wok-current annotate qlipper/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | 6135577f4d08 |
children | 0aa534391a15 |
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" |
psychomaniak@17122 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
psychomaniak@17122 | 11 WGET_URL="$WEB_SITE/files/$TARBALL" |
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 } |