/[gentoo-alt]/trunk/sys-libs/freebsd-pam-modules/freebsd-pam-modules-5.4_rc4.ebuild
Gentoo

Contents of /trunk/sys-libs/freebsd-pam-modules/freebsd-pam-modules-5.4_rc4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 339 - (show annotations) (download)
Fri May 6 16:51:09 2005 UTC (9 years, 7 months ago) by flameeyes
File size: 1073 byte(s)
Updated to rc4.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit freebsd-utils flag-o-matic
6
7 CFGVERSION="1"
8 DESCRIPTION="FreeBSD's base system libraries"
9 SLOT="0"
10 SRC_URI="mirror://gentoo/${LIB}.tar.bz2
11 mirror://gentoo/${CONTRIB}.tar.bz2
12 mirror://gentoo/freebsd-pam-configs-${CFGVERSION}.tar.bz2"
13
14 DEPEND="=sys-devel/freebsd-mk-defs-5.4*
15 =sys-kernel/freebsd-sources-5.4*
16 =sys-kernel/freebsd-headers-5.4*
17 sys-libs/openpam
18 kerberos? ( dev-libs/openssl
19 virtual/krb5 )"
20
21 S=${WORKDIR}/lib/libpam
22
23 IUSE="kerberos nis"
24
25 pkg_setup() {
26 mymakeopts="${mymakeopts} NO_OPENSSH= "
27 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
28 use nis || mymakeopts="${mymakeopts} NO_NIS= "
29 }
30
31 src_unpack() {
32 unpack ${A}
33
34 cd ${WORKDIR}/${LIB}
35
36 # Fixed locations
37 epatch ${FILESDIR}/freebsd-lib-fixmakefiles.patch
38 }
39
40 src_compile() {
41 fmake || die "emake failed"
42 }
43
44 src_install() {
45 fmake DESTDIR=${D} install || die "Install failed"
46
47 cd ${WORKDIR}/freebsd-pam-configs
48 dodoc README.pamd convert.pl
49 doenvd pamd/*
50 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20