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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://pyyaml.org
/download
/pyyaml
/
16 PKG_MD5SUM
:=f50e08ef0fe55178479d3a618efe21db
18 PKG_BUILD_DEPENDS
:=python
20 include $(INCLUDE_DIR
)/package.mk
21 $(call include_mk
, python-package.mk
)
28 URL
:=http
://pyyaml.org
29 DEPENDS
:=+python
+libyaml
32 define Package
/pyyaml
/description
37 $(call Build
/Compile
/PyMod
,,--with-libyaml
install --prefix="$(PKG_INSTALL_DIR)/usr")
40 define Package
/pyyaml
/install
41 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
43 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
47 $(eval
$(call BuildPackage
,pyyaml
))