Commit 046e0452 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev
Browse files

Upgraded xz to 5.2.5

parent 5baedd68
all:
tar xf xz-5.2.4.tar.xz
cd xz-5.2.4 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static --docdir=/usr/share/doc/xz-5.2.4
$(MAKE) -C xz-5.2.4
tar xf xz-5.2.5.tar.xz
cd xz-5.2.5 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static --docdir=/usr/share/doc/xz-5.2.5
$(MAKE) -C xz-5.2.5
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C xz-5.2.4 check ; \
$(MAKE) -C xz-5.2.5 check ; \
fi
$(MAKE) -C xz-5.2.4 install
$(MAKE) -C xz-5.2.5 install
mv -v /usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} /bin
mv -v /usr/lib/liblzma.so.* /lib
ln -sfv ../../lib/$$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so
rm -rf xz-5.2.4
rm -rf xz-5.2.5
<project name="xz">
<target name="temporary-xz">
<property name="makedir" value="${builddir}/xz-5.2.4"/>
<property name="makedir" value="${builddir}/xz-5.2.5"/>
<exec executable="tar" failonerror="true">
<arg line="xf packages/xz/xz-5.2.4.tar.xz -C ${builddir}"/>
<arg line="xf packages/xz/xz-5.2.5.tar.xz -C ${builddir}"/>
</exec>
<exec executable="./configure" dir="${makedir}" failonerror="true">
<env key="PATH" path="${PATH}"/>
......
File added
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