Commit 6c9f478b authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Upgraded swig to 4.0.2

parent f1357fcb
all:
$(MAKE) -C ../boost temporary
tar xf swig-4.0.0.tar.gz
cd swig-4.0.0 && BOOST_ROOT=$(CURDIR)/../boost/boost_1_72_0 ./configure --build=$(CLFS_TARGET) --prefix=/usr --without-clisp --without-maximum-compile-warnings
$(MAKE) -C swig-4.0.0
tar xf swig-4.0.2.tar.gz
cd swig-4.0.2 && BOOST_ROOT=$$(realpath $(CURDIR)/../boost/boost) ./configure --build=$(CLFS_TARGET) --prefix=/usr --without-clisp --without-maximum-compile-warnings
$(MAKE) -C swig-4.0.2
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C swig-4.0.0 check TCL_INCLUDE= PY3=1 ; \
$(MAKE) -C swig-4.0.2 check TCL_INCLUDE= PY3=1 ; \
fi
$(MAKE) -C swig-4.0.0 install
install -v -m755 -d /usr/share/doc/swig-4.0.0
cd swig-4.0.0 && cp -v -R Doc/* /usr/share/doc/swig-4.0.0
rm -rf swig-4.0.0
$(MAKE) -C swig-4.0.2 install
install -v -m755 -d /usr/share/doc/swig-4.0.2
cd swig-4.0.2 && cp -v -R Doc/* /usr/share/doc/swig-4.0.2
rm -rf swig-4.0.2
$(MAKE) -C ../boost clean
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment