wok-4.x view keepassx/receipt @ rev 3152

Up: glibc (2.10.1) - Use the last stable release
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 24 12:19:32 2009 +0200 (2009-05-24)
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 }