blob: d9b6476fbfd95096d415ea3b64b77c3cf55cdd69 (
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
37
38
39
40
41
42
43
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_keyring/pam_keyring-0.0.8.ebuild,v 1.3 2006/10/23 23:56:38 ticho Exp $
inherit multilib eutils
DESCRIPTION="Unlock GNOME keyring with login password"
HOMEPAGE="http://www.hekanetworks.com/pam_keyring/"
SRC_URI="http://www.hekanetworks.com/opensource/pam_keyring/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="sys-libs/pam
>=gnome-base/gnome-session-2.10
>=gnome-base/gnome-keyring-0.4.8"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-fixes.patch
}
src_compile() {
econf --libdir=/$(get_libdir) \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
make install DESTDIR=${D} || die "install failed"
rm -f ${D}/$(get_libdir)/security/*.{a,la}
dodoc AUTHORS ChangeLog README TODO
dodoc ${FILESDIR}/gdm.example
}
pkg_postinst() {
elog "There is a example of a /etc/pam.d/gdm with pam_keyring"
elog "at /usr/share/doc/${PF}/gdm.example.gz"
}
|