2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-07-20 10:58:12 +02:00
|
|
|
#
|
|
|
|
# python-nfc
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2012-11-13 03:57:08 +01:00
|
|
|
PYTHON_NFC_VERSION = 142
|
2012-07-20 10:58:12 +02:00
|
|
|
PYTHON_NFC_SITE = https://launchpad.net/nfcpy
|
|
|
|
PYTHON_NFC_SITE_METHOD = bzr
|
|
|
|
PYTHON_NFC_DEPENDENCIES = python libusb libusb-compat
|
|
|
|
|
|
|
|
define PYTHON_NFC_BUILD_CMDS
|
|
|
|
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define PYTHON_NFC_INSTALL_TARGET_CMDS
|
|
|
|
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|