@ -5,13 +5,12 @@
# See /LICENSE for more information.
# See /LICENSE for more information.
#
#
# Note: include this after `include $(TOPDIR)/rules.mk in your package Makefile
# Note: include this file after `include $(TOPDIR)/rules.mk in your package Makefile
python3_mk_path := $( dir $( lastword $( MAKEFILE_LIST) ) )
python3_mk_path := $( dir $( lastword $( MAKEFILE_LIST) ) )
i n c l u d e $( python 3_mk_path ) p y t h o n 3 - h o s t . m k
i n c l u d e $( python 3_mk_path ) p y t h o n 3 - h o s t . m k
PYTHON3_DIR := $( STAGING_DIR) /usr
PYTHON3_DIR := $( STAGING_DIR) /usr
PYTHON3_BIN_DIR := $( PYTHON3_DIR) /bin
PYTHON3_INC_DIR := $( PYTHON3_DIR) /include/python$( PYTHON3_VERSION)
PYTHON3_INC_DIR := $( PYTHON3_DIR) /include/python$( PYTHON3_VERSION)
PYTHON3_LIB_DIR := $( PYTHON3_DIR) /lib/python$( PYTHON3_VERSION)
PYTHON3_LIB_DIR := $( PYTHON3_DIR) /lib/python$( PYTHON3_VERSION)
@ -135,7 +134,6 @@ define Py3Package/ProcessFilespec
e n d e f
e n d e f
d e f i n e P y 3 P a c k a g e
d e f i n e P y 3 P a c k a g e
define Package/$( 1) -src
define Package/$( 1) -src
$( call Package/$( 1) )
$( call Package/$( 1) )
DEPENDS:=
DEPENDS:=
@ -148,8 +146,9 @@ define Py3Package
endef
endef
define Package/$( 1) -src/description
define Package/$( 1) -src/description
$( call Package/$( 1) /description) .
( Contains the Python3 sources for this package) .
$$ ( call Package/$( 1) /description)
This package contains the Python source files for $( 1) .
endef
endef
define Package/$( 1) -src/config
define Package/$( 1) -src/config
@ -163,10 +162,10 @@ define Py3Package
ifndef Py3Package/$( 1) /install
ifndef Py3Package/$( 1) /install
define Py3Package/$( 1) /install
define Py3Package/$( 1) /install
if [ -d $( PKG_INSTALL_DIR) /usr/bin ] ; then \
$( INSTALL_DIR) $$ ( 1) /usr/bin ; \
$( CP) $( PKG_INSTALL_DIR) /usr/bin/* $$ ( 1) /usr/bin/ ; \
fi
if [ -d $( PKG_INSTALL_DIR) /usr/bin ] ; then \
$( INSTALL_DIR) $$ ( 1) /usr/bin ; \
$( CP) $( PKG_INSTALL_DIR) /usr/bin/* $$ ( 1) /usr/bin/ ; \
fi
endef
endef
endif
endif