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
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://pypi.python.org/packages/source/R/RSFile
16 PKG_MD5SUM:=06f53cbcc268039212a853703abcb85a
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-rsfile
29 URL:=http://pypi.python.org/pypi/RSFile/
31 MAINTAINER:=Hamish Guthrie <hcg@openwrt.org>
34 define Package/python-rsfile/description
35 RockSolidTools' file I/O implementation
39 $(INSTALL_DIR) $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)
41 $(PKG_BUILD_DIR)/rsfile \
42 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)
44 $(PKG_BUILD_DIR)/rsbackends \
45 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)
48 define Package/python-rsfile/install
49 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
51 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/rsfile \
54 $(PKG_BUILD_DIR)/rsbackends \
58 $(eval $(call BuildPackage,python-rsfile))