wok-next view keepassx/receipt @ rev 20976

Follow recent changes in the Python renames
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 25 17:35:51 2018 +0300 (2018-09-25)
parents c0521c689857
children d5aab818505e
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 WEB_SITE="http://www.keepassx.org/"
10 REPOLOGY="keepassx0"
12 #SOURCE="KeePassX"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 TAGS="password key"
17 DEPENDS="xorg-libXtst libQtCore libQtGui libQtXml gcc-lib-base"
18 BUILD_DEPENDS="Qt4-dev xorg-libXtst-dev xorg-libXtst qmake mesa-libegl"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src/src
24 qmake PREFIX=/usr &&
25 make &&
26 make INSTALL_ROOT=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p \
33 $fs/usr/share/keepassx \
34 $fs/usr/share/licenses \
35 $fs/usr/share/icons/hicolor/16x16/apps $fs/usr/share/icons/hicolor/48x48/apps
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/keepassx/icons $fs/usr/share/keepassx
39 cp -a $install/usr/share/keepassx/license.html $fs/usr/share/licenses/$PACKAGE.html
40 ln -s /usr/share/keepassx/icons/keepassx_small.png $fs/usr/share/icons/hicolor/16x16/apps/keepassx.png
41 ln -s /usr/share/keepassx/icons/keepassx_large.png $fs/usr/share/icons/hicolor/48x48/apps/keepassx.png
42 }