/[gentoo-x86]/sys-auth/pam_blue/pam_blue-0.9.0.ebuild
Gentoo

Contents of /sys-auth/pam_blue/pam_blue-0.9.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Fri Jun 11 11:06:48 2010 UTC (4 years, 8 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -3 lines
Drop bluez-libs support wrt #301630.
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 ssuominen 1.6 # Copyright 1999-2010 Gentoo Foundation
2 hawking 1.1 # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.6 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_blue/pam_blue-0.9.0.ebuild,v 1.5 2009/11/21 15:10:52 armin76 Exp $
4 hawking 1.1
5     inherit pam autotools multilib
6    
7     DESCRIPTION="Linux PAM module providing ability to authenticate via a bluetooth compatible device"
8     HOMEPAGE="http://pam.0xdef.net/"
9     SRC_URI="http://pam.0xdef.net/source/${P}.tar.bz2"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13 armin76 1.5 KEYWORDS="~amd64 ~x86"
14 hawking 1.1 IUSE=""
15    
16     DEPEND="virtual/pam
17 ssuominen 1.6 net-wireless/bluez"
18 hawking 1.1 RDEPEND="${DEPEND}"
19    
20     S=${WORKDIR}/${PN}
21    
22     src_unpack() {
23     unpack ${A}
24     cd "${S}"
25     eautoreconf
26     }
27    
28     src_compile() {
29     econf --libdir="$(getpam_mod_dir)"
30     emake || die "emake failed"
31     }
32    
33     src_install() {
34     # manual install to avoid sandbox violation and installing useless .la file
35     dopammod src/.libs/pam_blue.so
36     newpamsecurity . data/sample.conf bluesscan.conf.sample
37    
38     dodoc AUTHORS NEWS README ChangeLog
39     doman doc/${PN}.7
40     }
41    
42     pkg_postinst() {
43     elog "For configuration info, see /etc/security/bluesscan.conf.sample"
44     elog "http://pam.0xdef.net/doc.html and http://pam.0xdef.net/faq.html"
45     elog "Edit the file as required and copy/rename to bluesscan.conf when done."
46     }

  ViewVC Help
Powered by ViewVC 1.1.20