summaryrefslogtreecommitdiff
path: root/sys-auth/pam-face-authentication/pam-face-authentication-0.3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/pam-face-authentication/pam-face-authentication-0.3.ebuild')
-rw-r--r--sys-auth/pam-face-authentication/pam-face-authentication-0.3.ebuild21
1 files changed, 3 insertions, 18 deletions
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
index de595203327..e65d20ea167 100644
--- a/sys-auth/pam-face-authentication/pam-face-authentication-0.3.ebuild
+++ b/sys-auth/pam-face-authentication/pam-face-authentication-0.3.ebuild
@@ -2,7 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils
+EAPI="3"
+
+inherit cmake-utils
DESCRIPTION="This is Pluggable Authentication Module for Face based Authentication"
HOMEPAGE="http://code.google.com/p/pam-face-authentication/"
@@ -17,20 +19,3 @@ 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"
-}