newt: Update to work with python3

- Change from building with python2 to python3
- Update of rootfile

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Adolf Belka
2021-05-10 16:40:39 +02:00
committed by Michael Tremer
parent 65f1b3c9c8
commit c2ab58ae62
2 changed files with 5 additions and 4 deletions

View File

@@ -5,8 +5,6 @@ usr/bin/whiptail
usr/lib/libnewt.so.0.52
usr/lib/libnewt.so.0.52.21
#usr/lib/pkgconfig/libnewt.pc
#usr/lib/python2.7/site-packages/_snack.so
#usr/lib/python2.7/site-packages/snack.py
#usr/lib/python3.8/site-packages/_snack.so
#usr/lib/python3.8/site-packages/snack.py
#usr/share/locale/ar

View File

@@ -70,8 +70,11 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --prefix=/usr \
--without-gpm-support --without-tcl
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--without-gpm-support \
--without-tcl \
--with-python=python3.8
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)