Files
haikuports/app-admin/keepassx/keepassx-2.0a6.recipe
2017-10-06 09:40:47 +02:00

85 lines
2.2 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="1"
SOURCE_URI="https://github.com/keepassx/keepassx/archive/2.0-alpha6.zip"
CHECKSUM_SHA256="dc377d6630bd1ae68191713442ff84ea173710bdfeddf95467b4f64910e030aa"
SOURCE_DIR="keepassx-2.0-alpha6"
PATCHES="keepassx-2.0a6.patchset"
ADDITIONAL_FILES="keepassx.rdef"
ARCHITECTURES="x86 x86_64"
PROVIDES="
keepassx = $portVersion
app:keepassx = $portVersion
"
REQUIRES="
haiku
lib:libgcrypt
lib:libQtCore
lib:libQtGui
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libgcrypt
devel:libgpg_error
devel:libQtCore
devel:libQtGui
devel:libz
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++
cmd:make
cmd:moc
cmd:qmake >= 4.8
cmd:xres
"
BUILD()
{
cmake -DCMAKE_INSTALL_PREFIX=$prefix \
-DCMAKE_INSTALL_DATAROOTDIR=$dataDir \
-DCMAKE_BUILD_TYPE=Release \
-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
}