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
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://pypi.python.org
/packages
/source
/s
/simplejson
/
16 PKG_MD5SUM
:=2f8351f6e6fe7ef25744805dfa56c0d5
17 PKG_BUILD_DEPENDS
:=python
19 include $(INCLUDE_DIR
)/package.mk
20 $(call include_mk
, python-package.mk
)
22 define Package
/simplejson
26 TITLE
:=Simple
, fast
, extensible JSON encoder
/decoder for Python
27 URL
:=http
://simplejson.readthedocs.org
/
28 DEPENDS
:=+python
+distribute
31 define Package
/simplejson
/description
32 Simple
, fast
, extensible JSON encoder
/decoder for Python
36 $(call Build
/Compile
/PyMod
,,install --prefix=/usr
--root
=$(PKG_INSTALL_DIR
))
39 define Package
/simplejson
/install
40 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
42 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
46 $(eval
$(call BuildPackage
,simplejson
))