wok-current view keepassx/receipt @ rev 19468
gnumeric: sorry, update depends now.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 25 02:07:03 2016 +0300 (2016-10-25) |
parents | 7896f0694ef6 |
children | a78610b2eb47 |
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="http://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 }