mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
27 lines
923 B
Bash
27 lines
923 B
Bash
|
# $Id: PKGBUILD 34574 2009-04-10 08:11:36Z eric $
|
||
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
||
|
pkgname=libofa
|
||
|
pkgver=0.9.3
|
||
|
pkgrel=2
|
||
|
pkgdesc="Open Fingerprint Architecture"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://code.google.com/p/musicip-libofa/"
|
||
|
license=('GPL2' 'custom')
|
||
|
depends=('expat' 'curl' 'fftw' 'gcc-libs')
|
||
|
makedepends=('pkgconfig')
|
||
|
options=('!libtool')
|
||
|
source=(http://www.musicip.com/dns/files/$pkgname-$pkgver.tar.gz
|
||
|
gcc-4.patch libofa-0.9.3-gcc-4.3.patch)
|
||
|
md5sums=('51507d2c4b432bd2755f48d58471696e' 'a6f78b90bd0f4354d022a71c3e58ef6c'\
|
||
|
'dd57db13770b8f8d196e8a3d3a50e713')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/${pkgname}-${pkgver}
|
||
|
patch -Np0 -i ../gcc-4.patch || return 1
|
||
|
patch -Np1 -i ../libofa-0.9.3-gcc-4.3.patch || return 1
|
||
|
./configure --prefix=/usr || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR=${pkgdir} install || return 1
|
||
|
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||
|
}
|