wok-next annotate keepassx/receipt @ rev 8241
Up: tazchroot to 0.0.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Jan 28 14:27:42 2011 +0000 (2011-01-28) |
parents | 8d3f3ded1725 |
children | 03933a919f81 |
rev | line source |
---|---|
jozee@3040 | 1 # SliTaz package receipt. |
jozee@3040 | 2 |
jozee@3040 | 3 PACKAGE="keepassx" |
erjo@5887 | 4 VERSION="0.4.3" |
jozee@3040 | 5 CATEGORY="graphics" |
jozee@3040 | 6 SHORT_DESC="Cross platform password manager" |
jozee@3040 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@5002 | 8 DEPENDS="xorg-libXtst libQtCore libQtGui libQtXml gcc-lib-base" |
erjo@5887 | 9 BUILD_DEPENDS="Qt4-dev xorg-libXtst-dev xorg-libXtst qmake libegl-mesa" |
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 } |