wok-6.x annotate keepassx/receipt @ rev 17816

Add quilt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 21 17:52:00 2015 +0100 (2015-03-21)
parents 7896f0694ef6
children a78610b2eb47
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@15002 8 LICENSE="GPL2"
jozee@3040 9 #SOURCE="KeePassX"
jozee@3040 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@17261 11 WEB_SITE="http://www.keepassx.org/"
jozee@3040 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@3040 13 TAGS="password key"
jozee@3040 14
pascal@15002 15 DEPENDS="xorg-libXtst libQtCore libQtGui libQtXml gcc-lib-base"
pascal@15002 16 BUILD_DEPENDS="Qt4-dev xorg-libXtst-dev xorg-libXtst qmake libegl-mesa"
pascal@15002 17
jozee@3040 18 # Rules to configure and make the package.
jozee@3040 19 compile_rules()
jozee@3040 20 {
al@17261 21 cd $src/src
jozee@3040 22 qmake PREFIX=/usr &&
jozee@3040 23 make &&
pascal@15002 24 make INSTALL_ROOT=$DESTDIR install
jozee@3040 25 }
jozee@3040 26
jozee@3040 27 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3040 28 genpkg_rules()
jozee@3040 29 {
al@17261 30 mkdir -p \
al@17261 31 $fs/usr/share/keepassx \
al@17261 32 $fs/usr/share/licenses \
al@17261 33 $fs/usr/share/icons/hicolor/16x16/apps $fs/usr/share/icons/hicolor/48x48/apps
al@17261 34
pascal@15002 35 cp -a $install/usr/bin $fs/usr
al@17261 36 cp -a $install/usr/share/keepassx/icons $fs/usr/share/keepassx
al@17261 37 cp -a $install/usr/share/keepassx/license.html $fs/usr/share/licenses/$PACKAGE.html
al@17261 38 ln -s /usr/share/keepassx/icons/keepassx_small.png $fs/usr/share/icons/hicolor/16x16/apps/keepassx.png
al@17261 39 ln -s /usr/share/keepassx/icons/keepassx_large.png $fs/usr/share/icons/hicolor/48x48/apps/keepassx.png
jozee@3040 40 }