wok annotate keepassx/receipt @ rev 25359

updated tinyssh (20210601 -> 20220311)
author Hans-G?nter Theisgen
date Wed Jul 27 08:03:11 2022 +0100 (2022-07-27)
parents 00e3b45c063b
children
rev   line source
jozee@3040 1 # SliTaz package receipt.
jozee@3040 2
jozee@3040 3 PACKAGE="keepassx"
erjo@5887 4 VERSION="0.4.3"
Hans-G?nter@25121 5 CATEGORY="security"
Hans-G?nter@25121 6 TAGS="password key"
Hans-G?nter@25121 7 SHORT_DESC="Cross platform password manager."
jozee@3040 8 MAINTAINER="jozee@slitaz.org"
pascal@15002 9 LICENSE="GPL2"
Hans-G?nter@25121 10 WEB_SITE="https://www.keepassx.org/"
Hans-G?nter@25121 11
jozee@3040 12 #SOURCE="KeePassX"
jozee@3040 13 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24978 14 WGET_URL="https://www.keepassx.org/releases/$VERSION/$TARBALL"
jozee@3040 15
Hans-G?nter@25121 16 DEPENDS="gcc-lib-base libQtCore libQtGui libQtXml xorg-libXtst"
Hans-G?nter@25121 17 BUILD_DEPENDS="libegl-mesa qmake Qt4-dev xorg-libXtst-dev xorg-libXtst"
pascal@15002 18
pascal@24412 19 # What is the latest version available today?
pascal@24412 20 current_version()
pascal@24412 21 {
pascal@24412 22 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24412 23 sed '/released/!d;s|.*KeePassX ||;s| .*||;q'
pascal@24412 24 }
pascal@24412 25
jozee@3040 26 # Rules to configure and make the package.
jozee@3040 27 compile_rules()
jozee@3040 28 {
Hans-G?nter@25121 29 cd src
jozee@3040 30 qmake PREFIX=/usr &&
jozee@3040 31 make &&
Hans-G?nter@25121 32 make install INSTALL_ROOT=$DESTDIR
jozee@3040 33 }
jozee@3040 34
jozee@3040 35 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3040 36 genpkg_rules()
jozee@3040 37 {
Hans-G?nter@25121 38 mkdir -p $fs/usr/share/keepassx
Hans-G?nter@25121 39 mkdir -p $fs/usr/share/licenses
Hans-G?nter@25121 40 mkdir -p $fs/usr/share/icons/hicolor/16x16/apps
Hans-G?nter@25121 41 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps
al@17261 42
Hans-G?nter@25121 43 cp -a $install/usr/bin $fs/usr
Hans-G?nter@25121 44 cp -a $install/usr/share/keepassx/icons $fs/usr/share/keepassx
Hans-G?nter@25121 45 cp -a $install/usr/share/keepassx/license.html $fs/usr/share/licenses/$PACKAGE.html
Hans-G?nter@25121 46 ln -s /usr/share/keepassx/icons/keepassx_small.png \
Hans-G?nter@25121 47 $fs/usr/share/icons/hicolor/16x16/apps/keepassx.png
Hans-G?nter@25121 48 ln -s /usr/share/keepassx/icons/keepassx_large.png \
Hans-G?nter@25121 49 $fs/usr/share/icons/hicolor/48x48/apps/keepassx.png
jozee@3040 50 }