wok view keepassx/receipt @ rev 5782

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 11:19:46 2010 +0200 (2010-07-10)
parents fee531f1e85e
children 4c13bc290eec
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 libQtXml gcc-lib-base"
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 }