diff options
author | Jeremy Laine <jeremy.laine@m4x.org> | 2008-04-21 11:32:44 +0000 |
---|---|---|
committer | Jeremy Laine <jeremy.laine@m4x.org> | 2008-04-21 11:32:44 +0000 |
commit | cae53aec7a18b49fa4169dbb18aba9782c96ff22 (patch) | |
tree | 41dfa6e02a86429121ae866fc52d6c4fa46b6a5e | |
parent | 58fa735dd39c53b29c82381202570322546c8bce (diff) |
librfid_svn.bb: add RFID library
-rw-r--r-- | packages/librfid/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/librfid/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/librfid/files/mifare_ul_timeout.patch | 13 | ||||
-rw-r--r-- | packages/librfid/librfid_svn.bb | 19 |
4 files changed, 32 insertions, 0 deletions
diff --git a/packages/librfid/.mtn2git_empty b/packages/librfid/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/librfid/.mtn2git_empty diff --git a/packages/librfid/files/.mtn2git_empty b/packages/librfid/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/librfid/files/.mtn2git_empty diff --git a/packages/librfid/files/mifare_ul_timeout.patch b/packages/librfid/files/mifare_ul_timeout.patch new file mode 100644 index 0000000000..846aa8d9db --- /dev/null +++ b/packages/librfid/files/mifare_ul_timeout.patch @@ -0,0 +1,13 @@ +--- librfid.orig/src/rfid_proto_mifare_ul.c (revision 2085) ++++ librfid/src/rfid_proto_mifare_ul.c (working copy) +@@ -34,8 +34,8 @@ + + + /* FIXME */ +-#define MIFARE_UL_READ_FWT 100 +-#define MIFARE_UL_WRITE_FWT 100 ++#define MIFARE_UL_READ_FWT 200 ++#define MIFARE_UL_WRITE_FWT 800 + + static int + mful_read(struct rfid_protocol_handle *ph, unsigned int page, diff --git a/packages/librfid/librfid_svn.bb b/packages/librfid/librfid_svn.bb new file mode 100644 index 0000000000..0033eb44df --- /dev/null +++ b/packages/librfid/librfid_svn.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "RFID library" +SECTION = "devel" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libusb" +SRCNAME = "librfid" + +PV = "0.2.0+svnr${SRCREV}" + +SRC_URI = "svn://svn.gnumonks.org/trunk;module=${SRCNAME};proto=http \ + file://mifare_ul_timeout.patch;patch=1" + +S = "${WORKDIR}/${SRCNAME}" + +inherit autotools + +do_stage() { + autotools_stage_all +} |