summaryrefslogtreecommitdiff
path: root/sys-auth/tfm-fingerprint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-auth/tfm-fingerprint
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-auth/tfm-fingerprint')
-rw-r--r--sys-auth/tfm-fingerprint/Manifest6
-rw-r--r--sys-auth/tfm-fingerprint/files/tfmessbsp.cfg4
-rw-r--r--sys-auth/tfm-fingerprint/metadata.xml8
-rw-r--r--sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild46
4 files changed, 64 insertions, 0 deletions
diff --git a/sys-auth/tfm-fingerprint/Manifest b/sys-auth/tfm-fingerprint/Manifest
new file mode 100644
index 000000000000..6702e7af29d1
--- /dev/null
+++ b/sys-auth/tfm-fingerprint/Manifest
@@ -0,0 +1,6 @@
+AUX tfmessbsp.cfg 90 SHA256 fd35cbf9e4e8d7abccad58d63f89c6df7af1e88ca86acce88d8311bca08cd1de SHA512 f15cd13ae72679ed7f2a0b6916c4392b09573ed59068bb476b324e49a3870d185d812e7f75d46148ea1a3c3edea99d5400fa8d3293271c4adfe7a2a2709a3c47 WHIRLPOOL dae0e1883a041f2832a0fcc4c7de5ba3a783cf61fcda1fb499cbe4a1372e02b91e9434d01de221f9f7b493827d0916e412d40f70cba9c59bb3c14f1bc6c29038
+DIST TFMESS_BSP_LIN_1.0.zip 922652 SHA256 9ca1dcb059e326d4c760c8f8ceb4df5970ab9897062487453a2ac5e9e7058368 SHA512 dd0a965eea21b6d04178b39847246187aaca32c297a7fc0a45dc8dfe663f4951627223760a322d0a8beb50c2bc8485db63c7e1e6dfa49612c15427fd0bace3ee WHIRLPOOL 014aef94ee6b59ed12d9ff8861dff408aa6a63bdad0da27c4e2ee84e0e613c352909816907065f9294deddf0349f0aed69d059b8ca8d24380b6600f5b9b807cb
+EBUILD tfm-fingerprint-1.0.ebuild 1062 SHA256 ba61cc6e68c85aa2a3b93d50206780c6b688c12dfe322dbff7ad4566807f1931 SHA512 4f7cae28a3fe7d3dd4c13a84f21fcfd2b12cad18dfb3cc57961a2360a2cb760e92194a1f758b4585b339156ce1c856e11394a82274f9cbc0d4ce9cdf286f5f4f WHIRLPOOL dd808656f0362a9e141c435d5af40013a3a979639d6338d452e6433c584c75f229aafba7209ab9d2a61c5db1411f93662afba2bd4b46a36341199570e74c3da5
+MISC ChangeLog 2218 SHA256 93033c7a1913828c60c4b5060c5351ebca01f1cfc11fe59ca65cc101052d27e0 SHA512 210b3334296660553189820a8cc1b4ea4505e6f5caad842bf7a74cef51fecf22765add7696b6c3ca7c7e04bdbad3922f916ae5155e00b6597dfa5b07f740d3b3 WHIRLPOOL 0db0c9d2ac462ab1e59fae0aa1b181e1ea7c73a8c25d3de46c69b7fcaeee038ff6fc75567f102226ab141c0030f0eeaf742056faaecabd8d8310b67b9eea2061
+MISC ChangeLog-2015 1575 SHA256 6bebdb3a1bbba1518af891485ab3a0c06a750c325abe556dc6bdf6889c7a5b35 SHA512 5a2aa6fb17daf1fce47e098f1d1bf5d110878fbff15a2cf568097f3f8d3c0be296a12da24cdd0435c5e3d4b6cc0d3f7a910df3f0dbd1b2bc30c80263430942d2 WHIRLPOOL 12d8d71d9a125cfc6e66fa3f7793c2360f7eac49ed82237a230f6894db5fb66b30bc7bab77c388bac644c0913546a66282f1c46f002d135c2566851dbeb3d897
+MISC metadata.xml 245 SHA256 aa8d9ea02f3fea416f0452961c38705410888332c197a49f4a3f9a8c463a33e0 SHA512 2561b26d1e4e3411e19d3b8e5113c0d1ccb7f62f91a9597a68e843e0b872881c587bdee924655989d47f5911018cc534d6c11f63c7c7a9ed38b7037dd96b3b65 WHIRLPOOL 41275f07f4811dfd5f77829ceafb07d8d9ab54155476452d7a460ab59bf1db364e260a8e75447574f207c35c2db1eae7a4fdfe373ec4767002269fc2b5f8e6ea
diff --git a/sys-auth/tfm-fingerprint/files/tfmessbsp.cfg b/sys-auth/tfm-fingerprint/files/tfmessbsp.cfg
new file mode 100644
index 000000000000..f7d93eb20519
--- /dev/null
+++ b/sys-auth/tfm-fingerprint/files/tfmessbsp.cfg
@@ -0,0 +1,4 @@
+#hide-capture-success="0"
+hide-capture-success="0"
+#security-level="3"
+security-level="3"
diff --git a/sys-auth/tfm-fingerprint/metadata.xml b/sys-auth/tfm-fingerprint/metadata.xml
new file mode 100644
index 000000000000..bb4e0a505070
--- /dev/null
+++ b/sys-auth/tfm-fingerprint/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>vapier@gentoo.org</email>
+ <name>Mike Frysinger</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild b/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild
new file mode 100644
index 000000000000..ad4b00e36171
--- /dev/null
+++ b/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit multilib
+
+DESCRIPTION="TouchChip TFM/ESS FingerPrint BSP"
+HOMEPAGE="http://www.upek.com/support/dl_linux_bsp.asp"
+SRC_URI="http://www.upek.com/support/download/TFMESS_BSP_LIN_${PV}.zip"
+
+LICENSE="UPEK-SDK-EULA"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE=""
+
+RDEPEND="sys-auth/bioapi"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+QA_TEXTRELS="usr/lib/libtfmessbsp.so"
+QA_PRESTRIPPED="usr/lib/libtfmessbsp.so"
+
+src_install() {
+ # this is a binary blob, so it probably shouldnt live in /usr/lib
+ dolib.so libtfmessbsp.so || die
+ insinto /etc
+ doins "${FILESDIR}"/tfmessbsp.cfg || die
+}
+
+doit_with_ewarn() {
+ "$@" || ewarn "FAILURE: $*"
+}
+
+pkg_postinst() {
+ doit_with_ewarn mod_install -fi /usr/$(get_libdir)/libtfmessbsp.so
+
+ elog "Note: You have to be in the group usb to access the fingerprint device."
+}
+
+pkg_postrm() {
+ # only do this if uninstalling
+ if ! has_version ${CATEGORY}/${PN} ; then
+ doit_with_ewarn mod_install -fu libtfmessbsp.so
+ fi
+}