diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-02-27 10:40:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-02-27 10:40:13 +0000 |
commit | 94925133a15d4bc9f24cfc48aab102ee62284319 (patch) | |
tree | 292b0436c07e754af7348fc8babde2bd83f15418 /sys-auth | |
parent | Tweak DEPEND: tfm-fingerprint is RDEPEND only. (diff) | |
download | historical-94925133a15d4bc9f24cfc48aab102ee62284319.tar.gz historical-94925133a15d4bc9f24cfc48aab102ee62284319.tar.bz2 historical-94925133a15d4bc9f24cfc48aab102ee62284319.zip |
Cleanup ebuild and use newer bioapi paths.
Package-Manager: portage-2.2_pre2
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/tfm-fingerprint/ChangeLog | 8 | ||||
-rw-r--r-- | sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild | 26 |
2 files changed, 22 insertions, 12 deletions
diff --git a/sys-auth/tfm-fingerprint/ChangeLog b/sys-auth/tfm-fingerprint/ChangeLog index ae0b18135865..4a28222bdf21 100644 --- a/sys-auth/tfm-fingerprint/ChangeLog +++ b/sys-auth/tfm-fingerprint/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-auth/tfm-fingerprint -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/tfm-fingerprint/ChangeLog,v 1.3 2007/09/05 20:22:35 wolf31o2 Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/tfm-fingerprint/ChangeLog,v 1.4 2008/02/27 10:40:13 vapier Exp $ + + 27 Feb 2008; Mike Frysinger <vapier@gentoo.org> + tfm-fingerprint-1.0.ebuild: + Cleanup ebuild and use newer bioapi paths. 05 Sep 2007; Chris Gianelloni <wolf31o2@gentoo.org> metadata.xml: Changed maintainer to Mike Frysinger <vapier@gentoo.org>. diff --git a/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild b/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild index 5ca82a0020a5..fc49bd04c1d3 100644 --- a/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild +++ b/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild,v 1.1 2006/10/05 13:45:13 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild,v 1.2 2008/02/27 10:40:13 vapier Exp $ + +inherit multilib DESCRIPTION="TouchChip TFM/ESS FingerPrint BSP" HOMEPAGE="http://www.upek.com/support/dl_linux_bsp.asp" @@ -14,21 +16,25 @@ IUSE="" DEPEND="sys-auth/bioapi" +S=${WORKDIR} + src_install() { - insinto /usr/lib - doins ${WORKDIR}/libtfmessbsp.so + # this is a binary blob, so it probably shouldnt live in /usr/lib + dolib.so libtfmessbsp.so || die insinto /etc - doins ${FILESDIR}/tfmessbsp.cfg + doins "${FILESDIR}"/tfmessbsp.cfg || die +} + +doit_with_ewarn() { + "$@" || ewarn "FAILURE: $*" } pkg_postinst() { - einfo "Running Module Directory Services (MDS) ..." - /opt/bioapi/bin/mod_install -fi /usr/lib/libtfmessbsp.so || die " mds libtfmessbsp failed" + doit_with_ewarn mod_install -fi /usr/$(get_libdir)/libtfmessbsp.so - einfo "Note: You have to be in the group usb to access the fingerprint device." + elog "Note: You have to be in the group usb to access the fingerprint device." } pkg_prerm() { - einfo "Running Module Directory Services (MDS) ..." - /opt/bioapi/bin/mod_install -fu /usr/lib/libtfmessbsp.so + doit_with_ewarn mod_install -fu /usr/$(get_libdir)/libtfmessbsp.so } |