summaryrefslogtreecommitdiff
path: root/sys-auth
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2010-07-07 09:12:56 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2010-07-07 09:12:56 +0400
commit573431c697dfd0c7dc3d6633ea581d89a4e603c2 (patch)
tree522f8be40ab7210d6632b23248b96110bbe12b76 /sys-auth
parent2ec03a7c95155976a7dcbc15a3b23b88081fc597 (diff)
downloadkde-573431c697dfd0c7dc3d6633ea581d89a4e603c2.tar.gz
kde-573431c697dfd0c7dc3d6633ea581d89a4e603c2.tar.bz2
kde-573431c697dfd0c7dc3d6633ea581d89a4e603c2.zip
[sys-auth] add some funny stuff from bug #261902
Diffstat (limited to 'sys-auth')
-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"
+}