wok-current view keepassx/receipt @ rev 25124
updated apache-mod-perl (2.0.8 -> 2.0.11)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:23:55 2022 +0100 (2022-06-28) |
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 }