Commit 5d5c383d authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated mpc to 1.2.1

parent 4f77f860
all: all:
tar xf mpc-1.1.0.tar.gz tar xf mpc-1.2.1.tar.gz
cd mpc-1.1.0 && CC="gcc -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static --docdir=/usr/share/doc/mpc-1.1.0 cd mpc-1.2.1 && CC="gcc -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static --docdir=/usr/share/doc/mpc-1.2.1
$(MAKE) -C mpc-1.1.0 $(MAKE) -C mpc-1.2.1
$(MAKE) -C mpc-1.1.0 html $(MAKE) -C mpc-1.2.1 html
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \ if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C mpc-1.1.0 check ; \ $(MAKE) -C mpc-1.2.1 check ; \
fi fi
$(MAKE) -C mpc-1.1.0 install $(MAKE) -C mpc-1.2.1 install
$(MAKE) -C mpc-1.1.0 install-html $(MAKE) -C mpc-1.2.1 install-html
rm -rf mpc-1.1.0 rm -rf mpc-1.2.1
<project name="mpc"> <project name="mpc">
<target name="cross-mpc"> <target name="cross-mpc">
<property name="makedir" value="${builddir}/mpc-1.1.0"/> <property name="makedir" value="${builddir}/mpc-1.2.1"/>
<exec executable="tar" failonerror="true"> <exec executable="tar" failonerror="true">
<arg line="xf packages/mpc/mpc-1.1.0.tar.gz -C ${builddir}"/> <arg line="xf packages/mpc/mpc-1.2.1.tar.gz -C ${builddir}"/>
</exec> </exec>
<exec executable="./configure" dir="${makedir}" failonerror="true"> <exec executable="./configure" dir="${makedir}" failonerror="true">
<env key="LDFLAGS" value="-Wl,-rpath,${sysrootdir}/cross-tools/lib"/> <env key="LDFLAGS" value="-Wl,-rpath,${sysrootdir}/cross-tools/lib"/>
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
</target> </target>
<target name="temporary-mpc"> <target name="temporary-mpc">
<property name="makedir" value="${builddir}/mpc-1.1.0"/> <property name="makedir" value="${builddir}/mpc-1.2.1"/>
<exec executable="tar" failonerror="true"> <exec executable="tar" failonerror="true">
<arg line="xf packages/mpc/mpc-1.1.0.tar.gz -C ${builddir}"/> <arg line="xf packages/mpc/mpc-1.2.1.tar.gz -C ${builddir}"/>
</exec> </exec>
<exec executable="./configure" dir="${makedir}" failonerror="true"> <exec executable="./configure" dir="${makedir}" failonerror="true">
<env key="PATH" path="${PATH}"/> <env key="PATH" path="${PATH}"/>
......
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