summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libkpass')
-rw-r--r--dev-libs/libkpass/libkpass-6-r1.ebuild26
-rw-r--r--dev-libs/libkpass/metadata.xml1
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/libkpass/libkpass-6-r1.ebuild b/dev-libs/libkpass/libkpass-6-r1.ebuild
new file mode 100644
index 000000000000..2cdd9c3537ef
--- /dev/null
+++ b/dev-libs/libkpass/libkpass-6-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Libkpass is a from-scratch C implementation for accessing KeePass 1.x databases"
+HOMEPAGE="http://libkpass.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/nettle-2.7.1"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use static-libs || rm -f "${ED}"/usr/lib*/${PN}.la
+}
diff --git a/dev-libs/libkpass/metadata.xml b/dev-libs/libkpass/metadata.xml
index db73bd720885..b9dcab4a62ad 100644
--- a/dev-libs/libkpass/metadata.xml
+++ b/dev-libs/libkpass/metadata.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <!-- maintainer-needed -->
<upstream>
<remote-id type="sourceforge">libkpass</remote-id>
</upstream>