wok view keepassx/receipt @ rev 4282
cdrdao: fix build with gcc-4.x
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 10:31:52 2009 +0200 (2009-09-26) |
parents | 871f410b9adc |
children | 8d3f3ded1725 |
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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $WOK/$PACKAGE/$PACKAGE-$VERSION/src
20 qmake PREFIX=/usr &&
21 make &&
22 make INSTALL_ROOT=../_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/pixmaps
30 _pkg=$WOK/$PACKAGE/$PACKAGE-$VERSION/_pkg
31 cp -a $_pkg/usr/bin $fs/usr
32 #cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
33 cp -a $_pkg/usr/share $fs/usr
34 cp -a $_pkg/usr/share/$PACKAGE/icons/keepassx.png $fs/usr/share/pixmaps
36 }