Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/tfm-fingerprint: tfm-fingerprint-1.0.ebuild ChangeLog
Date: Wed, 27 Feb 2008 10:40:16
Message-Id: E1JUJht-0000Iv-Rs@stork.gentoo.org
1 vapier 08/02/27 10:40:13
2
3 Modified: tfm-fingerprint-1.0.ebuild ChangeLog
4 Log:
5 Cleanup ebuild and use newer bioapi paths.
6 (Portage version: 2.2_pre2)
7
8 Revision Changes Path
9 1.2 sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild?r1=1.1&r2=1.2
14
15 Index: tfm-fingerprint-1.0.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- tfm-fingerprint-1.0.ebuild 5 Oct 2006 13:45:13 -0000 1.1
22 +++ tfm-fingerprint-1.0.ebuild 27 Feb 2008 10:40:13 -0000 1.2
23 @@ -1,6 +1,8 @@
24 -# Copyright 1999-2006 Gentoo Foundation
25 +# Copyright 1999-2008 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $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 $
28 +# $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 $
29 +
30 +inherit multilib
31
32 DESCRIPTION="TouchChip TFM/ESS FingerPrint BSP"
33 HOMEPAGE="http://www.upek.com/support/dl_linux_bsp.asp"
34 @@ -14,21 +16,25 @@
35
36 DEPEND="sys-auth/bioapi"
37
38 +S=${WORKDIR}
39 +
40 src_install() {
41 - insinto /usr/lib
42 - doins ${WORKDIR}/libtfmessbsp.so
43 + # this is a binary blob, so it probably shouldnt live in /usr/lib
44 + dolib.so libtfmessbsp.so || die
45 insinto /etc
46 - doins ${FILESDIR}/tfmessbsp.cfg
47 + doins "${FILESDIR}"/tfmessbsp.cfg || die
48 +}
49 +
50 +doit_with_ewarn() {
51 + "$@" || ewarn "FAILURE: $*"
52 }
53
54 pkg_postinst() {
55 - einfo "Running Module Directory Services (MDS) ..."
56 - /opt/bioapi/bin/mod_install -fi /usr/lib/libtfmessbsp.so || die " mds libtfmessbsp failed"
57 + doit_with_ewarn mod_install -fi /usr/$(get_libdir)/libtfmessbsp.so
58
59 - einfo "Note: You have to be in the group usb to access the fingerprint device."
60 + elog "Note: You have to be in the group usb to access the fingerprint device."
61 }
62
63 pkg_prerm() {
64 - einfo "Running Module Directory Services (MDS) ..."
65 - /opt/bioapi/bin/mod_install -fu /usr/lib/libtfmessbsp.so
66 + doit_with_ewarn mod_install -fu /usr/$(get_libdir)/libtfmessbsp.so
67 }
68
69
70
71 1.4 sys-auth/tfm-fingerprint/ChangeLog
72
73 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/tfm-fingerprint/ChangeLog?rev=1.4&view=markup
74 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/tfm-fingerprint/ChangeLog?rev=1.4&content-type=text/plain
75 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/tfm-fingerprint/ChangeLog?r1=1.3&r2=1.4
76
77 Index: ChangeLog
78 ===================================================================
79 RCS file: /var/cvsroot/gentoo-x86/sys-auth/tfm-fingerprint/ChangeLog,v
80 retrieving revision 1.3
81 retrieving revision 1.4
82 diff -u -r1.3 -r1.4
83 --- ChangeLog 5 Sep 2007 20:22:35 -0000 1.3
84 +++ ChangeLog 27 Feb 2008 10:40:13 -0000 1.4
85 @@ -1,6 +1,10 @@
86 # ChangeLog for sys-auth/tfm-fingerprint
87 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
88 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/tfm-fingerprint/ChangeLog,v 1.3 2007/09/05 20:22:35 wolf31o2 Exp $
89 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
90 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/tfm-fingerprint/ChangeLog,v 1.4 2008/02/27 10:40:13 vapier Exp $
91 +
92 + 27 Feb 2008; Mike Frysinger <vapier@g.o>
93 + tfm-fingerprint-1.0.ebuild:
94 + Cleanup ebuild and use newer bioapi paths.
95
96 05 Sep 2007; Chris Gianelloni <wolf31o2@g.o> metadata.xml:
97 Changed maintainer to Mike Frysinger <vapier@g.o>.
98
99
100
101 --
102 gentoo-commits@l.g.o mailing list