diff options
Diffstat (limited to 'sys-libs/pam_mysql/pam_mysql-0.4.7.ebuild')
-rw-r--r-- | sys-libs/pam_mysql/pam_mysql-0.4.7.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-libs/pam_mysql/pam_mysql-0.4.7.ebuild b/sys-libs/pam_mysql/pam_mysql-0.4.7.ebuild new file mode 100644 index 000000000000..ee6d13da6197 --- /dev/null +++ b/sys-libs/pam_mysql/pam_mysql-0.4.7.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam_mysql/pam_mysql-0.4.7.ebuild,v 1.1 2002/11/13 06:02:00 woodchip Exp $ + +DESCRIPTION="pam_mysql is a module for pam to authenticate users with mysql" +HOMEPAGE="http://pam-mysql.sourceforge.net/" + +S="${WORKDIR}/${PN}" +SRC_URI="mirror://sourceforge/pam-mysql/${P}.tar.gz" +DEPEND=">=sys-libs/pam-0.72 >=dev-db/mysql-3.23.38" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha" + +src_unpack() { + unpack ${A} || die + cd ${S} || die + cp Makefile Makefile.orig + sed -e "s%-O2%${CFLAGS}%" Makefile.orig > Makefile + #i dont think this is needed --woodchip + #-e 's%^\(export LD_D=.*\)%\1 -lz%' \ +} + +src_compile() { + emake || die +} + +src_install() { + exeinto /lib/security + doexe pam_mysql.so + dodoc Changelog CREDITS Readme +} |