blob: 60a012c56a68a6d86afa0beb0b8af484da7b2dd0 (
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
|
# Maintainer: iniVation AG <support@inivation.com>
pkgname=libcaer
pkgver=3.3.16
pkgrel=1
pkgdesc="Minimal C library to access, configure and get data from neuromorphic sensors and processors."
url="https://gitlab.com/inivation/dv/$pkgname/"
license=('BSD')
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
groups=()
depends=('libusb' 'libserialport' 'opencv')
makedepends=('cmake' 'pkgconf')
provides=()
conflicts=()
replaces=()
options=('staticlibs')
source=("https://release.inivation.com/libcaer/$pkgname-$pkgver.tar.gz")
noextract=()
sha256sums=('23e7e7ec904c8a1f24c2b952a4cc338c5355cf8ed7a81cf4c46f5d689aba1dc7')
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DENABLE_SERIALDEV=1 -DENABLE_OPENCV=1 -DENABLE_STATIC=1 -DUDEV_INSTALL=1 .
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
DESTDIR="$pkgdir/" make install
}
|