aboutsummaryrefslogtreecommitdiffstats
path: root/packages/librfid/librfid_svn.bb
blob: 78800de3eb70c32296a32891982b62d6b3f35858 (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
DESCRIPTION = "RFID library"
SECTION = "devel"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "libusb"
SRCNAME = "librfid"

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

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