Commit 317218e7 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated swig to 4.0.0

parent ca629424
all: all:
$(MAKE) -C ../boost temporary $(MAKE) -C ../boost temporary
tar xf swig-3.0.12.tar.gz tar xf swig-4.0.0.tar.gz
cd swig-3.0.12 && sed -i 's/\$$(PERL5_SCRIPT/-I. &/' Examples/Makefile.in cd swig-4.0.0 && sed -i 's/\$$(PERL5_SCRIPT/-I. &/' Examples/Makefile.in
cd swig-3.0.12 && sed -i 's/\$$command 2/-I. &/' Examples/test-suite/perl5/run-perl-test.pl cd swig-4.0.0 && sed -i 's/\$$command 2/-I. &/' Examples/test-suite/perl5/run-perl-test.pl
cd swig-3.0.12 && BOOST_ROOT=$(CURDIR)/../boost/boost_1_67_0 ./configure --build=$(CLFS_TARGET) --prefix=/usr --without-clisp --without-maximum-compile-warnings cd swig-4.0.0 && BOOST_ROOT=$(CURDIR)/../boost/boost_1_67_0 ./configure --build=$(CLFS_TARGET) --prefix=/usr --without-clisp --without-maximum-compile-warnings
$(MAKE) -C swig-3.0.12 $(MAKE) -C swig-4.0.0
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \ if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C swig-3.0.12 check ; \ $(MAKE) -C swig-4.0.0 check ; \
fi fi
$(MAKE) -C swig-3.0.12 install $(MAKE) -C swig-4.0.0 install
install -v -m755 -d /usr/share/doc/swig-3.0.12 install -v -m755 -d /usr/share/doc/swig-4.0.0
cd swig-3.0.12 && cp -v -R Doc/* /usr/share/doc/swig-3.0.12 cd swig-4.0.0 && cp -v -R Doc/* /usr/share/doc/swig-4.0.0
rm -rf swig-3.0.12 rm -rf swig-4.0.0
$(MAKE) -C ../boost clean $(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