aboutsummaryrefslogtreecommitdiff
path: root/recipes/librfid/librfid_svn.bb
blob: 50a71114419c3febc752d9e5ec11ee3fb62a085a (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
DESCRIPTION = "RFID library"
SECTION = "devel"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "virtual/libusb0"
SRCNAME = "librfid"

SRCREV = "2094"
PV = "0.2.0+svnr${SRCPV}"
PR = "r5"

SRC_URI = "svn://svn.gnumonks.org/trunk;module=${SRCNAME};proto=http \
           file://010-rc632-definitions-fix.patch \
           file://011-rc632-define-fixes-followups.patch \
           file://012-rc632-error-reg-ro-2.patch \
           file://013-zero-UID.patch \
           file://015-no_segfault.patch \
           file://soos01-set_clear_bits.patch \
           file://soos02-check-errors.patch \
           file://soos03-no_hang-openpcd.patch \
           file://librfid.rules \
          "

SRC_URI_append_boc01 = "file://spidev.patch"
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
}