Files
haikuports/app-admin/keepassx/keepassx-2.0a5.recipe

81 lines
2.0 KiB
Bash

SUMMARY="Qt password manager"
DESCRIPTION="
KeePassX is an application for people with extremly high demands on secure \
personal data management. It has a light interface, is cross platform and \
published under the terms of the GNU General Public License.
KeePassX saves many different information e.g. user names, passwords, urls, \
attachments and comments in one single database. For a better management \
user-defined titles and icons can be specified for each single entry. \
Furthermore the entries are sorted in groups, which are customizable as well. \
The integrated search function allows to search in a single group or the \
complete database.
KeePassX offers a little utility for secure password generation. The password \
generator is very customizable, fast and easy to use. Especially someone who \
generates passwords frequently will appreciate this feature."
HOMEPAGE="http://www.keepassx.org/"
COPYRIGHT="2010-2012 Felix Geyer
2011-2012 Florian Geyer
2012 Tobias Tangemann
2007 Trolltech ASA
2012 Intel Corporation
2012 Nokia Corporation and/or its subsidiary(-ies)
2000-2008 Tom Sato"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="git+https://github.com/keepassx/keepassx.git#2.0-alpha5"
PATCHES="keepassx-2.0a5.patchset"
ADDITIONAL_FILES="keepassx.rdef"
ARCHITECTURES="x86"
PROVIDES="
keepassx = $portVersion
app:keepassx = $portVersion
"
REQUIRES="
haiku
lib:libgcrypt
lib:libQtCore
lib:libQtGui
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libz
devel:libgcrypt
devel:libQtCore
devel:libQtGui
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:make
cmd:g++
cmd:qmake
cmd:moc
cmd:xres
"
BUILD()
{
cmake -DCMAKE_INSTALL_PREFIX=$prefix \
-DCMAKE_INSTALL_DATAROOTDIR=$dataDir \
-DWITH_TESTS=off .
make $jobArgs
rc $portDir/additional-files/keepassx.rdef \
-o $sourceDir/src/keepassx.rsrc
xres -o $sourceDir/src/keepassx $sourceDir/src/keepassx.rsrc
mimeset -f $sourceDir/src/keepassx
}
INSTALL()
{
make install
mkdir -p $appsDir
mv $binDir/keepassx $appsDir/KeePassX
addAppDeskbarSymlink $appsDir/KeePassX KeePassX
}