wok view keepassx/receipt @ rev 24865

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