2 # Copyright (C) 2012 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
11 PKG_VERSION:=0.3.5b-5294
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://trac.v2.nl/raw-attachment/wiki/pyOSC
16 PKG_MD5SUM:=933f85d1ae76f31e711d4a2228507dd8
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19 PKG_BUILD_DEPENDS:=python
21 include $(INCLUDE_DIR)/package.mk
22 $(call include_mk, python-package.mk)
24 define Package/python-pyosc
29 URL:=http://trac.v2.nl/wiki/pyOSC
31 MAINTAINER:=Hamish Guthrie <hcg@openwrt.org>
34 define Package/python-pyosc/description
35 A simple OpenSoundControl implementation in pure Python
39 $(INSTALL_DIR) $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)
41 $(PKG_BUILD_DIR)/OSC.py \
42 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)
45 define Package/python-pyosc/install
46 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
48 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/OSC.py \
52 $(eval $(call BuildPackage,python-pyosc))