/[gentoo-x86]/sys-auth/libfprint/libfprint-0.4.0.ebuild
Gentoo

Contents of /sys-auth/libfprint/libfprint-0.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.22 - (show annotations) (download)
Wed Jul 30 19:40:24 2014 UTC (2 months, 3 weeks ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +2 -2 lines
Use shorter get_udevdir() instead of the longer deprecated udev_get_udevdir() version.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-auth/libfprint/libfprint-0.4.0.ebuild,v 1.21 2014/01/15 12:57:13 ago Exp $
4
5 EAPI=4
6
7 inherit autotools eutils udev
8
9 MY_PV="v_${PV//./_}"
10 DESCRIPTION="library to add support for consumer fingerprint readers"
11 HOMEPAGE="http://cgit.freedesktop.org/libfprint/libfprint/"
12 SRC_URI="http://cgit.freedesktop.org/${PN}/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${P}.tar.bz2"
13
14 LICENSE="LGPL-2.1"
15 SLOT="0"
16 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
17 IUSE="debug static-libs"
18
19 RDEPEND="virtual/libusb:1
20 dev-libs/nss
21 || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] x11-libs/gdk-pixbuf )"
22 DEPEND="${RDEPEND}
23 virtual/pkgconfig"
24
25 S=${WORKDIR}/${MY_PV}
26
27 src_prepare() {
28 mkdir m4 || die
29 eautoreconf
30 }
31
32 pkg_setup() {
33 einfo
34 elog "This version does not support fdu2000 and upektc (yet)."
35 einfo
36 }
37
38 src_configure() {
39 econf \
40 $(use_enable debug debug-log) \
41 $(use_enable static-libs static)
42 }
43
44 src_install() {
45 emake \
46 DESTDIR="${D}" \
47 udev_rulesdir="$(get_udevdir)/rules.d" \
48 install
49
50 prune_libtool_files
51 dodoc AUTHORS HACKING NEWS README THANKS TODO
52 }

  ViewVC Help
Powered by ViewVC 1.1.20