Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/betagarden:master commit in: sys-auth/upekbsapi-bin/
Date: Sat, 26 Nov 2011 21:45:17
Message-Id: 58c48d87038722da7dbdfbbc6952c23798c3b309.alexxy@gentoo
1 commit: 58c48d87038722da7dbdfbbc6952c23798c3b309
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 26 21:44:53 2011 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 26 21:44:53 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=58c48d87
7
8 [sys-auth/upekbsapi-bin] Import from alexxy overlay
9
10 (Portage version: 2.2.0_alpha78/git/Linux x86_64, signed Manifest commit with key F82F92E6)
11
12 ---
13 sys-auth/upekbsapi-bin/metadata.xml | 8 ++++
14 .../upekbsapi-bin/upekbsapi-bin-4.0.0218.ebuild | 45 ++++++++++++++++++++
15 2 files changed, 53 insertions(+), 0 deletions(-)
16
17 diff --git a/sys-auth/upekbsapi-bin/metadata.xml b/sys-auth/upekbsapi-bin/metadata.xml
18 new file mode 100644
19 index 0000000..247f458
20 --- /dev/null
21 +++ b/sys-auth/upekbsapi-bin/metadata.xml
22 @@ -0,0 +1,8 @@
23 +<?xml version="1.0" encoding="UTF-8"?>
24 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
25 +<pkgmetadata>
26 + <maintainer>
27 + <email>alexxy@g.o</email>
28 + <name>Alexey Shvetsov</name>
29 + </maintainer>
30 +</pkgmetadata>
31
32 diff --git a/sys-auth/upekbsapi-bin/upekbsapi-bin-4.0.0218.ebuild b/sys-auth/upekbsapi-bin/upekbsapi-bin-4.0.0218.ebuild
33 new file mode 100644
34 index 0000000..07bcd70
35 --- /dev/null
36 +++ b/sys-auth/upekbsapi-bin/upekbsapi-bin-4.0.0218.ebuild
37 @@ -0,0 +1,45 @@
38 +# Copyright 1999-2010 Gentoo Foundation
39 +# Distributed under the terms of the GNU General Public License v2
40 +# $Header: $
41 +
42 +EAPI="3"
43 +
44 +FP_GUI=fingerprint-gui-1.00
45 +MY_PN=${PN/bsapi-bin/}
46 +DESCRIPTION="UPEK Biometric Services SDK for PC"
47 +HOMEPAGE="http://www.upek.com/solutions/eikon/default.asp"
48 +SRC_URI="http://www.n-view.net/Appliance/fingerprint/download/${FP_GUI}.tar.gz"
49 +
50 +LICENSE="UPEK_EULA"
51 +SLOT="0"
52 +KEYWORDS="~x86 ~amd64"
53 +IUSE=""
54 +
55 +DEPEND=""
56 +RDEPEND="${DEPEND}"
57 +
58 +S=${FP_GUI}/${MY_PN}
59 +
60 +src_unpack() {
61 + unpack ${FP_GUI}.tar.gz
62 +}
63 +
64 +src_install() {
65 + cd "${S}"/
66 + insinto /usr/include
67 + doins include/bsapi.h
68 + doins include/bserror.h
69 + doins include/bstypes.h
70 + if use x86; then
71 + dolib lib/libbsapi.so
72 + elif use amd64; then
73 + dolib lib64/libbsapi.so
74 + fi
75 + insinto /etc/udev/rules.d
76 + doins 91-fingerprint-gui-upek.rules
77 + dodir /var/lib/${MY_PN}_data
78 + fperms 777 /var/lib/${MY_PN}_data
79 + echo "nvmprefix=\"/var/lib/${MY_PN}_data/.NVM\" dualswipe=0" > ${MY_PN}.cfg
80 + insinto /etc
81 + doins ${MY_PN}.cfg
82 +}