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 }