/[gentoo-x86]/sys-auth/pam_mysql/pam_mysql-0.7_rc1-r4.ebuild
Gentoo

Contents of /sys-auth/pam_mysql/pam_mysql-0.7_rc1-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon May 21 23:25:46 2012 UTC (2 years, 2 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
Inherit eutils for epatch.

(Portage version: 2.2.0_alpha102/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mysql/pam_mysql-0.7_rc1-r4.ebuild,v 1.5 2012/03/03 23:16:32 klausman Exp $
4
5 EAPI=2
6 inherit autotools libtool pam eutils
7
8 DESCRIPTION="pam_mysql is a module for pam to authenticate users with mysql"
9 HOMEPAGE="http://pam-mysql.sourceforge.net/"
10
11 SRC_URI="mirror://sourceforge/pam-mysql/${P/_rc/RC}.tar.gz"
12 DEPEND=">=sys-libs/pam-0.72 virtual/mysql"
13 RDEPEND="${DEPEND}"
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="alpha amd64 ppc ~sparc x86"
17 IUSE="openssl"
18 S="${WORKDIR}/${P/_rc/RC}"
19
20 src_prepare() {
21 epatch "${FILESDIR}/${P}-link-to-pam.diff"
22 epatch "${FILESDIR}/${P}-memleak.diff"
23 eautoreconf
24 elibtoolize
25 }
26
27 src_configure() {
28 econf $(use_with openssl)
29 }
30
31 src_compile() {
32 emake || die "emake failed"
33 }
34
35 src_install() {
36 emake DESTDIR="${D}" libdir="$(getpam_mod_dir)" install || die "install failed"
37 rm "${D}/$(getpam_mod_dir)/pam_mysql.la" || die "Failed to remove pam_mysql.la"
38 dodoc CREDITS ChangeLog NEWS README
39 }

  ViewVC Help
Powered by ViewVC 1.1.20