2 # Copyright (C) 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:=PyRRD-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://pypi.python.org/packages/source/P/PyRRD/
16 PKG_MD5SUM:=c33a0760b42a23e45e423b8b9f2cd0b0
18 PKG_BUILD_DEPENDS:=python
19 PKG_BUILD_DIR:=$(BUILD_DIR)/PyRRD-$(PKG_VERSION)
21 include $(INCLUDE_DIR)/package.mk
22 $(call include_mk, python-package.mk)
28 TITLE:=PyRRD - An Object-Oriented Python Interface for RRDTool
29 URL:=http://code.google.com/p/pyrrd/
30 DEPENDS:=+python +distribute +rrdtool
33 define Package/pyrrd/description
34 An Object-Oriented Python Interface for RRDTool
38 $(call Build/Compile/PyMod,., \
39 install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
43 define Package/pyrrd/install
44 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
46 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
47 $(1)$(PYTHON_PKG_DIR)/
50 $(eval $(call BuildPackage,pyrrd))