summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-auth/pam-face-authentication/metadata.xml5
-rw-r--r--sys-auth/pam-face-authentication/pam-face-authentication-0.3.ebuild36
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-auth/pam-face-authentication/metadata.xml b/sys-auth/pam-face-authentication/metadata.xml
new file mode 100644
index 00000000000..8d1e86a9cef
--- /dev/null
+++ b/sys-auth/pam-face-authentication/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+</pkgmetadata>
diff --git a/sys-auth/pam-face-authentication/pam-face-authentication-0.3.ebuild b/sys-auth/pam-face-authentication/pam-face-authentication-0.3.ebuild
new file mode 100644
index 00000000000..de595203327
--- /dev/null
+++ b/sys-auth/pam-face-authentication/pam-face-authentication-0.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="This is Pluggable Authentication Module for Face based Authentication"
+HOMEPAGE="http://code.google.com/p/pam-face-authentication/"
+SRC_URI="http://pam-face-authentication.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86 amd64"
+IUSE=""
+
+DEPEND=">=sys-libs/pam-0.99.8
+ >=media-libs/opencv-1.0.0
+ >=sci-libs/gsl-1.9"
+RDEPEND="${DEPEND}"
+
+src_compile()
+{
+ cd ${P}
+ mkdir build
+ cd build
+ cmake -D CMAKE_INSTALL_PREFIX=/usr ..
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ cd ${P}
+ cd build
+ emake DESTDIR="${D}" install || die "install failed"
+ cd ..
+ dodoc README AUTHORS || die "install docs failed"
+}