summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libkpass/libkpass-3.ebuild')
-rw-r--r--dev-libs/libkpass/libkpass-3.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-libs/libkpass/libkpass-3.ebuild b/dev-libs/libkpass/libkpass-3.ebuild
index dbea237ccd4b..5390ecb3d251 100644
--- a/dev-libs/libkpass/libkpass-3.ebuild
+++ b/dev-libs/libkpass/libkpass-3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libkpass/libkpass-3.ebuild,v 1.2 2011/12/13 18:12:19 joker Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libkpass/libkpass-3.ebuild,v 1.3 2011/12/14 15:07:52 ssuominen Exp $
EAPI=4
@@ -13,14 +13,16 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="static-libs"
-DEPEND="dev-libs/openssl[static-libs?]"
-RDEPEND="${DEPEND}"
+RDEPEND=">=dev-libs/openssl-1"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog README TODO )
src_configure() {
econf $(use_enable static-libs static)
}
src_install() {
- emake DESTDIR="${D}" install
- dodoc TODO README AUTHORS ChangeLog
+ default
+ use static-libs || rm -f "${ED}"/usr/lib*/${PN}.la
}