Merge pull request #6909 from neheb/patch-34
[feed/packages.git] / utils / yunbridge / Makefile
1 #
2 # Copyright (C) 2006-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=yunbridge
11 PKG_VERSION:=1.6.0
12 PKG_RELEASE:=1
13
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)
18
19 PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
20 PKG_LICENSE:=GPL-2.0
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/yunbridge
25 SECTION:=utils
26 CATEGORY:=Utilities
27 TITLE:=Arduino YUN bridge library
28 URL:=http://arduino.cc/
29 DEPENDS:=+python
30 endef
31
32 define Package/yunbridge/description
33 Arduino YUN bridge library
34 endef
35
36 define Build/Compile
37 true
38 endef
39
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/
43 $(CP) ./files/* $(1)
44 endef
45
46 $(eval $(call BuildPackage,yunbridge))