wok-current view keepassx/receipt @ rev 22274

updated xorg-xf86-video-mga (1.5.0 -> 2.0.0)
author Hans-G?nter Theisgen
date Wed Nov 13 11:23:34 2019 +0100 (2019-11-13)
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 }