blob: 58415bb8bb670ddd88d279d06f9a67b3fed12df0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libfprint
pkgver=0.6.0
pkgrel=0
pkgdesc="fingerprint reader and identification library"
url="http://www.freedesktop.org/wiki/Software/fprint/libfprint"
arch="all"
license="LGPL-2.1"
depends=""
depends_dev="libusb-dev"
makedepends="$depends_dev nss-dev glib-dev gdk-pixbuf-dev pixman-dev"
install=""
subpackages="$pkgname-dev"
source="http://people.freedesktop.org/~hadess/libfprint-$pkgver.tar.xz
0001-imgdev-fix-enum-mismatch.patch
"
_builddir="$srcdir"/libfprint-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-dependency-tracking \
--enable-fast-install \
--with-pic \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="1e66f6e786348b46075368cc682450a8 libfprint-0.6.0.tar.xz
dc004f5eb118fa653746f9c9e0b3a810 0001-imgdev-fix-enum-mismatch.patch"
sha256sums="2583fcb7d542a918c023776f188067fcedec614e65494dd52bc4d661be803cbe libfprint-0.6.0.tar.xz
e96132d8917d58904e81a79c1d1901bf248cd2d61120231003ccac6f93832edc 0001-imgdev-fix-enum-mismatch.patch"
sha512sums="5f4f67f8dd377098776380b565bf19d6ab857fb11ab2ba2179b835368b52c1fc825c8e3dcebecb73eb5239a47725d8b2d33ece2812d5e05d93e397e6c97f90b2 libfprint-0.6.0.tar.xz
27c1fcfe8a5ceaa8bfe29ecb2389ff7839c8de2095101d5b55c9fff7e24b2875c589bb06f749a6ed5d04a3fa4392c9434f50758462cd12e520cbc2b0ba4aa3f5 0001-imgdev-fix-enum-mismatch.patch"
|