c130480749a301e214be5842385718c28b3ea73c
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.
7 # $Id: Makefile 13829 2009-01-03 00:28:00Z mirko $
9 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://pyyaml.org
/download
/pyyaml
/
17 PKG_BUILD_DEPENDS
:=python
19 include $(INCLUDE_DIR
)/package.mk
20 -include $(if
$(DUMP
),,$(STAGING_DIR
)/mk
/python-package.mk
)
27 URL
:=http
://pyyaml.org
31 define Package
/pyyaml
/description
36 $(call Build
/Compile
/PyMod
,,install --prefix="$(PKG_INSTALL_DIR)/usr")
39 define Package
/pyyaml
/install
40 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
42 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
46 $(eval
$(call BuildPackage
,pyyaml
))