blob: 49f9a9519828b45b82c097e2f724c573dd67fee0 (
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
|
DESCRIPTION = "RFID library"
SECTION = "devel"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "libusb"
SRCNAME = "librfid"
PV = "0.2.0+svnr${SRCREV}"
PR = "r4"
SRC_URI = "svn://svn.gnumonks.org/trunk;module=${SRCNAME};proto=http \
file://mifare_ul_timeout.patch;patch=1 \
file://librfid.rules \
"
SRC_URI_append_boc01 = "file://spidev.patch;patch=1"
PACKAGE_ARCH_boc01 = "boc01"
EXTRA_OECONF_boc01 += "--enable-spidev"
S = "${WORKDIR}/${SRCNAME}"
inherit autotools
do_install_append() {
install -d ${D}/${sysconfdir}/udev/rules.d
install -m 0644 ${WORKDIR}/librfid.rules ${D}/${sysconfdir}/udev/rules.d/70-librfid.rules
}
do_stage() {
autotools_stage_all
}
|