|
Lines 2-8
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
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-r1.ebuild,v 1.5 2007/04/18 18:31:34 opfer Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mysql/pam_mysql-0.7_rc1-r1.ebuild,v 1.5 2007/04/18 18:31:34 opfer Exp $ |
| 4 |
|
4 |
|
| 5 |
inherit libtool multilib |
5 |
inherit libtool pam |
| 6 |
|
6 |
|
| 7 |
DESCRIPTION="pam_mysql is a module for pam to authenticate users with mysql" |
7 |
DESCRIPTION="pam_mysql is a module for pam to authenticate users with mysql" |
| 8 |
HOMEPAGE="http://pam-mysql.sourceforge.net/" |
8 |
HOMEPAGE="http://pam-mysql.sourceforge.net/" |
|
Lines 18-24
Link Here
|
| 18 |
src_unpack() { |
18 |
src_unpack() { |
| 19 |
unpack ${A} |
19 |
unpack ${A} |
| 20 |
|
20 |
|
| 21 |
cd ${S} |
21 |
cd "${S}" |
| 22 |
elibtoolize |
22 |
elibtoolize |
| 23 |
} |
23 |
} |
| 24 |
|
24 |
|
|
Lines 26-36
Link Here
|
| 26 |
local myconf |
26 |
local myconf |
| 27 |
myconf="${myconf} $(use_with openssl)" |
27 |
myconf="${myconf} $(use_with openssl)" |
| 28 |
econf ${myconf} |
28 |
econf ${myconf} |
| 29 |
emake |
29 |
emake || die "emake failed" |
| 30 |
} |
30 |
} |
| 31 |
|
31 |
|
| 32 |
src_install() { |
32 |
src_install() { |
| 33 |
make DESTDIR=${D} libdir=$(get_libdir)/security install || die |
33 |
emake DESTDIR="${D}" libdir=$(getpam_mod_dir) install || die "install failed" |
| 34 |
|
34 |
|
| 35 |
dodoc CREDITS ChangeLog NEWS README |
35 |
dodoc CREDITS ChangeLog NEWS README |
| 36 |
} |
36 |
} |