blob: cd9e3b6c7ecc3d8b3aa6fd2f94a57160652fa320 (
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
|
# Maintainer: Vincent Hourdin <aur at vinvin dot tf>
pkgname=qsiapi
pkgver=7.6.0
pkgrel=1
pkgdesc="C++ API for QSI camera control and image capture via the USB interface"
url="http://www.qsimaging.com/software-beta.html#api"
arch=('i686' 'x86_64')
license=('custom')
depends=('bash' 'libftdi')
source=("http://qsimaging.com/downloads/${pkgname}-${pkgver}.tar.gz" "qsiapitest_init.patch")
sha1sums=('c2d91e91c48e0e3f81938da8f29c5319f02e6bd4' '5c773b50baf7d6789be9a0d11c42fc888723f629')
install="${pkgname}.install"
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p0 < ../qsiapitest_init.patch
autoreconf -fi
./configure --with-ftd=ftdi1 --prefix=/usr --enable-shared
make all
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm "${pkgdir}/usr/lib/libqsiapi.la" #it's a libtool file
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
|