blob: 39ee68c97d73d1c59f08a6051680520120a9ae73 (
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
|
# Maintainer: aig <aigmx@posteo.de>
pkgname=libnfc-nci-i2c
pkgver=2.4.1
pkgrel=1
pkgdesc="Linux NFC stack for NCI based NXP NFC Controllers (PN7150, PN7120). For i2c transport."
arch=('x86_64')
url="https://github.com/NXPNFCLinux/linux_libnfc-nci/"
license=('APACHE')
depends=('glibc' 'gcc-libs' 'systemd-libs' 'openssl')
makedepends=('git')
provides=('libnfc-nci')
conflicts=('libnfc-nci-lpcusbsio' 'libnfc-nci-alt')
source=("git+https://github.com/NXPNFCLinux/linux_libnfc-nci#commit=2aff6448cf6a86897d3d1bacb0a0943a594aa9ce"
"01-fix-tml-linker-errors.patch"
"02-fix-llcp-linker-errors.patch")
sha256sums=('SKIP'
'c9992a8449de8ece0324cbf180a24f8bcab82cb7f51832d3d80958c0968a7575'
'c6ece172b50e1d1070a979fbafa2e9ee7f7f7b92d583fa38f8ea433123a9ef4d')
prepare() {
cd "$srcdir/linux_libnfc-nci"
patch -p1 -i "$srcdir/01-fix-tml-linker-errors.patch"
patch -p1 -i "$srcdir/02-fix-llcp-linker-errors.patch"
}
build() {
cd "$srcdir/linux_libnfc-nci"
./bootstrap
export openssldir='/usr'
./configure --prefix=/usr --sysconfdir=/etc/libnfc-nci --enable-i2c --enable-llcp1_3
make
}
package() {
cd "$srcdir/linux_libnfc-nci"
make DESTDIR="$pkgdir/" install
rm -rf $pkgdir/usr/sbin
}
|