# pkg_postinst calls pkg_config (#596648), upstream dead for ages. Removal
# in a month.
sys-auth/bioapi
-sys-auth/tfm-fingerprint
# Andreas Sturmlechner <asturm@gentoo.org> (03 Nov 2018)
# Breaks revdeps (GDir and GDirEntry split from gfile.h into new gdir.h)
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-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
-}