wok-stable view keepassx/receipt @ rev 3534
merge 3532:012d72b2b629 , 3530:0109c31e8835
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Mon Jun 22 17:35:58 2009 +0800 (2009-06-22) |
parents | |
children | fee531f1e85e |
line source
1 # SliTaz package receipt.
3 PACKAGE="keepassx"
4 VERSION="0.4.0"
5 CATEGORY="graphics"
6 SHORT_DESC="Cross platform password manager"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="xorg-libXtst libQtcore libQtGui"
9 BUILD_DEPENDS="Qt4-dev xorg-libXtst-dev xorg-libXtst qmake"
10 #SOURCE="KeePassX"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.keepassx.org/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 TAGS="password key"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $WOK/$PACKAGE/$PACKAGE-$VERSION/src
21 qmake PREFIX=/usr &&
22 make &&
23 make INSTALL_ROOT=../_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps
31 _pkg=$WOK/$PACKAGE/$PACKAGE-$VERSION/_pkg
32 cp -a $_pkg/usr/bin $fs/usr
33 #cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
34 cp -a $_pkg/usr/share $fs/usr
35 cp -a $_pkg/usr/share/$PACKAGE/icons/keepassx.png $fs/usr/share/pixmaps
37 }