2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE_URL
:=https
://codeload.github.com
/arduino
/YunBridge
/tar.gz
/$(PKG_VERSION
)?
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_HASH
:=9e5ffc7a0d0cc2c92e972e425adcc49b77cf39da075d31728e7755d316d910d8
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/YunBridge-
$(PKG_VERSION
)
19 PKG_MAINTAINER
:=John Crispin
<blogic@openwrt.org
>
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/yunbridge
27 TITLE
:=Arduino YUN bridge library
28 URL
:=http
://arduino.
cc/
32 define Package
/yunbridge
/description
33 Arduino YUN bridge library
40 define Package
/yunbridge
/install
41 mkdir
-p
$(1)/usr
/lib
/python2.7
/bridge
42 $(CP
) $(PKG_BUILD_DIR
)/bridge
/*.py
$(1)/usr
/lib
/python2.7
/bridge
/
46 $(eval
$(call BuildPackage
,yunbridge
))