blob: 5c26ec44054f0cdc1e4a97d672c33850017ccccf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail-smime/claws-mail-smime-0.5.7.ebuild,v 1.4 2007/06/23 18:10:08 genone Exp $
MY_P="${P#claws-mail-}"
DESCRIPTION="This plugin allows you to handle S/MIME signed and/or encrypted mails."
HOMEPAGE="http://www.claws-mail.org"
SRC_URI="http://www.claws-mail.org/downloads/plugins/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~ppc64 x86"
IUSE=""
DEPEND=">=mail-client/claws-mail-2.6.1
>=app-crypt/gpgme-1.1.1"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
# we have to make sure that pinentry has gtk support
if ! built_with_use --missing true -o app-crypt/pinentry gtk qt3; then
eerror "You need to merge app-crypt/pinentry with USE=gtk or USE=qt3"
eerror "for working GPG support. You have the following options:"
eerror " - remerge app-crypt/pinentry with USE=gtk"
eerror " - remerge app-crypt/pinentry with USE=qt3"
die "missing gtk/qt support in app-crypt/pinentry"
fi
}
src_install() {
make DESTDIR="${D}" install
dodoc AUTHORS ChangeLog NEWS README
# kill useless files
rm -f ${D}/usr/lib*/claws-mail/plugins/*.{a,la}
}
|