| 1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libkpass/libkpass-3.ebuild,v 1.2 2011/12/13 18:12:19 joker Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
DESCRIPTION="Libkpass is a from-scratch C implementation of accessing KeePass 1.x format password databases"
|
| 8 |
HOMEPAGE="http://libkpass.sourceforge.net/"
|
| 9 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
| 10 |
|
| 11 |
LICENSE="GPL-2"
|
| 12 |
SLOT="0"
|
| 13 |
KEYWORDS="~amd64"
|
| 14 |
IUSE="static-libs"
|
| 15 |
|
| 16 |
RDEPEND=">=dev-libs/openssl-1"
|
| 17 |
DEPEND="${RDEPEND}"
|
| 18 |
|
| 19 |
DOCS=( AUTHORS ChangeLog README TODO )
|
| 20 |
|
| 21 |
src_configure() {
|
| 22 |
econf $(use_enable static-libs static)
|
| 23 |
}
|
| 24 |
|
| 25 |
src_install() {
|
| 26 |
default
|
| 27 |
use static-libs || rm -f "${ED}"/usr/lib*/${PN}.la
|
| 28 |
}
|