wok view keepassx/receipt @ rev 25665

Up advancecomp (2.6), apache (2.4.58), apache-mod-perl (2.0.13), apache-mod-wsgi (5.0.0), apr (1.7.4), awstats (7.9), gzip (1.13), zbar (0.23.93), zlib (1.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 19:18:54 2024 +0000 (8 months ago)
parents 00e3b45c063b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="keepassx"
4 VERSION="0.4.3"
5 CATEGORY="security"
6 TAGS="password key"
7 SHORT_DESC="Cross platform password manager."
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.keepassx.org/"
12 #SOURCE="KeePassX"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://www.keepassx.org/releases/$VERSION/$TARBALL"
16 DEPENDS="gcc-lib-base libQtCore libQtGui libQtXml xorg-libXtst"
17 BUILD_DEPENDS="libegl-mesa qmake Qt4-dev xorg-libXtst-dev xorg-libXtst"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/released/!d;s|.*KeePassX ||;s| .*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd src
30 qmake PREFIX=/usr &&
31 make &&
32 make install INSTALL_ROOT=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/keepassx
39 mkdir -p $fs/usr/share/licenses
40 mkdir -p $fs/usr/share/icons/hicolor/16x16/apps
41 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/keepassx/icons $fs/usr/share/keepassx
45 cp -a $install/usr/share/keepassx/license.html $fs/usr/share/licenses/$PACKAGE.html
46 ln -s /usr/share/keepassx/icons/keepassx_small.png \
47 $fs/usr/share/icons/hicolor/16x16/apps/keepassx.png
48 ln -s /usr/share/keepassx/icons/keepassx_large.png \
49 $fs/usr/share/icons/hicolor/48x48/apps/keepassx.png
50 }