New package: libnfc-1.7.1
This commit is contained in:
parent
20ae797ec0
commit
63998c2cb3
|
@ -1993,3 +1993,4 @@ libudns.so.0 udns-0.4_1
|
|||
libcriu.so.1 criu-1.5.1_2
|
||||
libwebsockets.so.5 libwebsockets-1.4_1
|
||||
libbitcoinconsensus.so.0 litecoin-0.10.1.2_1
|
||||
libnfc.so.0 libnfc-1.7.1_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
libnfc
|
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'libnfc'
|
||||
pkgname=libnfc
|
||||
version=1.7.1
|
||||
revision=1
|
||||
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||
build_style=cmake
|
||||
short_desc="Low level NFC SDK and Programmers API"
|
||||
hostmakedepends="cmake pkg-config"
|
||||
makedepends="libusb-devel libusb-compat-devel"
|
||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://nfc-tools.org/"
|
||||
distfiles="https://github.com/nfc-tools/libnfc/archive/libnfc-${version}.tar.gz"
|
||||
checksum=30de35b4f1af3f57dab40d91ffb2275664a35859ff2b014ba7b226aa3f5465f5
|
||||
|
||||
pre_configure() {
|
||||
sed -i "s|MODE=\"0664\", GROUP=\"plugdev\"|TAG+=\"uaccess\"|g" contrib/udev/42-pn53x.rules
|
||||
}
|
||||
post_install() {
|
||||
vinstall contrib/udev/42-pn53x.rules 644 usr/lib/udev/rules.d/
|
||||
vinstall contrib/linux/blacklist-libnfc.conf 644 usr/lib/modprobe.d/
|
||||
}
|
||||
libnfc-devel_package() {
|
||||
depends="libnfc>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue