wok-current annotate keepassx/receipt @ rev 4860
Add liblzma
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 03 22:17:42 2010 +0100 (2010-02-03) |
parents | 871f410b9adc |
children | 8d3f3ded1725 |
rev | line source |
---|---|
jozee@3040 | 1 # SliTaz package receipt. |
jozee@3040 | 2 |
jozee@3040 | 3 PACKAGE="keepassx" |
jozee@3040 | 4 VERSION="0.4.0" |
jozee@3040 | 5 CATEGORY="graphics" |
jozee@3040 | 6 SHORT_DESC="Cross platform password manager" |
jozee@3040 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@3610 | 8 DEPENDS="xorg-libXtst libQtCore libQtGui" |
jozee@3040 | 9 BUILD_DEPENDS="Qt4-dev xorg-libXtst-dev xorg-libXtst qmake" |
jozee@3040 | 10 #SOURCE="KeePassX" |
jozee@3040 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@3040 | 12 WEB_SITE="http://www.keepassx.org/" |
jozee@3040 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@3040 | 14 TAGS="password key" |
jozee@3040 | 15 |
jozee@3040 | 16 # Rules to configure and make the package. |
jozee@3040 | 17 compile_rules() |
jozee@3040 | 18 { |
jozee@3040 | 19 cd $WOK/$PACKAGE/$PACKAGE-$VERSION/src |
jozee@3040 | 20 qmake PREFIX=/usr && |
jozee@3040 | 21 make && |
jozee@3040 | 22 make INSTALL_ROOT=../_pkg install |
jozee@3040 | 23 |
jozee@3040 | 24 } |
jozee@3040 | 25 |
jozee@3040 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3040 | 27 genpkg_rules() |
jozee@3040 | 28 { |
jozee@3040 | 29 mkdir -p $fs/usr/share/pixmaps |
jozee@3040 | 30 _pkg=$WOK/$PACKAGE/$PACKAGE-$VERSION/_pkg |
jozee@3040 | 31 cp -a $_pkg/usr/bin $fs/usr |
jozee@3040 | 32 #cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@3040 | 33 cp -a $_pkg/usr/share $fs/usr |
jozee@3040 | 34 cp -a $_pkg/usr/share/$PACKAGE/icons/keepassx.png $fs/usr/share/pixmaps |
jozee@3040 | 35 |
jozee@3040 | 36 } |