wok view keepassx/receipt @ rev 22542
updated blackbox (0.70.1 -> 0.75)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 03 17:12:56 2020 +0100 (2020-01-03) |
parents | 533c0cab6960 |
children | ba7cbdb5749c |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/src
22 qmake PREFIX=/usr &&
23 make &&
24 make INSTALL_ROOT=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p \
31 $fs/usr/share/keepassx \
32 $fs/usr/share/licenses \
33 $fs/usr/share/icons/hicolor/16x16/apps $fs/usr/share/icons/hicolor/48x48/apps
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/keepassx/icons $fs/usr/share/keepassx
37 cp -a $install/usr/share/keepassx/license.html $fs/usr/share/licenses/$PACKAGE.html
38 ln -s /usr/share/keepassx/icons/keepassx_small.png $fs/usr/share/icons/hicolor/16x16/apps/keepassx.png
39 ln -s /usr/share/keepassx/icons/keepassx_large.png $fs/usr/share/icons/hicolor/48x48/apps/keepassx.png
40 }