blob: 0a757db8c040a9439f483645763a1e05b32b9ed6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_bioapi/pam_bioapi-0.4.0.ebuild,v 1.1 2007/12/31 01:07:13 vapier Exp $
inherit toolchain-funcs
DESCRIPTION="PAM interface to bioapi package"
HOMEPAGE="http://code.google.com/p/pam-bioapi/"
SRC_URI="http://pam-bioapi.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="sys-auth/bioapi
sys-libs/pam
sys-auth/tfm-fingerprint
dev-db/sqlite"
src_compile() {
econf --sbindir=/sbin || die
emake || die
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS ChangeLog NEWS README TODO
dodir /$(get_libdir)
mv "${D}"/usr/$(get_libdir)/{lib*.so*,security} "${D}"/$(get_libdir)/ || die
rm -f "${D}"/$(get_libdir)/security/*.la
gen_usr_ldscript libbirdb.so libbirdb_sqlite3.so
}
|