blob: 87f0a6ecd2354fe4aeb6eada14d26ba5063d9476 (
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
44
45
46
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-auth/openpam/openpam-20050201-r1.ebuild,v 1.1 2006/03/30 17:54:34 flameeyes Exp $
inherit multilib flag-o-matic autotools
DESCRIPTION="Open source PAM library."
HOMEPAGE="http://www.openpam.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86-fbsd"
IUSE="debug"
RDEPEND="!virtual/pam"
DEPEND="sys-devel/make
dev-lang/perl
=sys-devel/automake-1.8*"
PDEPEND="sys-freebsd/freebsd-pam-modules"
PROVIDE="virtual/pam"
src_unpack() {
unpack ${A}
cd ${S}
epatch "${FILESDIR}/${P}-gentoo.patch"
epatch "${FILESDIR}/${P}-nbsd.patch"
eautomake
}
src_compile() {
econf \
--disable-dependency-tracking \
--with-modules-dir=/$(get_libdir)/security \
${myconf} || die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} install
dodoc CREDITS HISTORY MANIFEST RELNOTES README
}
|