blob: 8b575ed344571106d1e7d63d73b00e0553e2f191 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_keystore/pam_keystore-0.1.3.ebuild,v 1.1 2009/10/09 14:23:21 flameeyes Exp $
inherit pam toolchain-funcs
DESCRIPTION="Keeps a login and the password the user in the kernel"
HOMEPAGE="http://www.calculate-linux.org/pam_keystore"
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/${PN}/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="virtual/pam
>=sys-apps/keyutils-1.1"
RDEPEND="${DEPEND}"
src_compile() {
emake \
CC="$(tc-getCC)" \
LD_D="$(tc-getCC) -shared ${LDFLAGS}" \
CFLAGS="-fPIC ${CFLAGS}" \
SHARE= \
|| die "make failed"
}
src_install() {
dopammod pam_keystore.so || die
newdoc README README.ru || die
}
|