diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-10 09:00:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-10 09:00:36 +0000 |
commit | 55f4034796572dd68aeff19321f45e38e47c6138 (patch) | |
tree | 0d2436b4da547a92571ca0c1ad050e590515396c /main/libfprint/APKBUILD | |
parent | 42e1e28e320493ac91aa09852a9898eec792831f (diff) | |
download | aports-55f4034796572dd68aeff19321f45e38e47c6138.tar.bz2 aports-55f4034796572dd68aeff19321f45e38e47c6138.tar.xz |
main/libfprint: moved from testing
Diffstat (limited to 'main/libfprint/APKBUILD')
-rw-r--r-- | main/libfprint/APKBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/main/libfprint/APKBUILD b/main/libfprint/APKBUILD new file mode 100644 index 000000000..879c91169 --- /dev/null +++ b/main/libfprint/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=libfprint +pkgver=0.5.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" +install="" +subpackages="$pkgname-dev" +source="http://people.freedesktop.org/~hadess/libfprint-$pkgver.tar.xz + 0001-uru4000-fix-race-condition-on-waiting-power-up-irq.patch + 0002-uru4000-fix-cancelling-of-imaging-from-error-callbac.patch + 0003-imgdev-fix-cancelling-of-enrollment-from-stage_compl.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 --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 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="65d118369a47a93be623816f54cdb847 libfprint-0.5.0.tar.xz +2a184777defbdb90a8c0ef32f6246b49 0001-uru4000-fix-race-condition-on-waiting-power-up-irq.patch +8e5f6cd2a4967a818729f6fb7e992881 0002-uru4000-fix-cancelling-of-imaging-from-error-callbac.patch +9c3e6511cd4ac0cdc889e170ed22d954 0003-imgdev-fix-cancelling-of-enrollment-from-stage_compl.patch" |