2 # Copyright (C) 2008-2015 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
10 PKG_NAME
:=micropython-lib
11 PKG_VERSION
=1.8.6-$(PKG_SOURCE_VERSION
)
14 PKG_MAINTAINER
:=Roger D
<rogerdammit@gmail.com
>
15 PKG_LICENSE
:=MIT
, PSFL
16 PKG_LICENSE_FILES
:=LICENSE
19 PKG_SOURCE_URL
:=https
://github.com
/micropython
/micropython-lib.git
20 PKG_SOURCE_VERSION
:=f81e979c56dddb771ad36ec381b7f2c6cd12111f
22 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)-$(PKG_SOURCE_VERSION
)
23 PKG_SOURCE
:=$(PKG_SOURCE_SUBDIR
).
tar.gz
24 PKG_MIRROR_HASH
:=b9642fb3d01a7423d64ecc6ea81b4fac81a9112494727c8ca7744bd8e3ac120b
25 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_SOURCE_SUBDIR
)
28 include $(INCLUDE_DIR
)/package.mk
30 define Package
/micropython-lib
34 TITLE
:=micropython-lib
35 URL
:=https
://github.com
/micropython
/micropython-lib
39 define Package
/micropython-lib
/description
40 This package contains micropython-lib
, a project to develop a non-monolothic
41 standard library for Micro Python. Note that this is a work in progress and
42 several libraries may be missing
, incomplete or buggy.
46 PREFIX
=$(PKG_BUILD_DIR
)/_install_tmp
/dist \
49 define Package
/micropython-lib
/install
50 $(INSTALL_DIR
) $(1)/usr
/lib
/micropython
51 $(CP
) $(PKG_BUILD_DIR
)/_install_tmp
/dist/* $(1)/usr
/lib
/micropython
54 $(eval
$(call BuildPackage
,micropython-lib
))