2 # Copyright (C) 2008 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
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://pyyaml.org/download/pyyaml/
16 PKG_BUILD_DEPENDS:=python
18 include $(INCLUDE_DIR)/package.mk
19 -include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
26 URL:=http://pyyaml.org
27 DEPENDS:=+python +libyaml
30 define Package/pyyaml/description
35 $(call Build/Compile/PyMod,,--with-libyaml install --prefix="$(PKG_INSTALL_DIR)/usr")
38 define Package/pyyaml/install
39 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
41 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
45 $(eval $(call BuildPackage,pyyaml))