Commit ed501725 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Upgraded bzip2 to 1.0.8

parent 1147bdb9
all: all:
tar xf bzip2-1.0.6.tar.gz tar xf bzip2-1.0.8.tar.gz
patch -Np1 -d bzip2-1.0.6 < bzip2-1.0.6-install_docs-1.patch patch -Np1 -d bzip2-1.0.8 < bzip2-1.0.8-install_docs-1.patch
cd bzip2-1.0.6 && sed -i -e 's:ln -s -f $$(PREFIX)/bin/:ln -s :' Makefile cd bzip2-1.0.8 && sed -i -e 's:ln -s -f $$(PREFIX)/bin/:ln -s :' Makefile
cd bzip2-1.0.6 && sed -i 's@X)/man@X)/share/man@g' ./Makefile cd bzip2-1.0.8 && sed -i 's@X)/man@X)/share/man@g' ./Makefile
$(MAKE) -C bzip2-1.0.6 -f Makefile-libbz2_so $(MAKE) -C bzip2-1.0.8 -f Makefile-libbz2_so
$(MAKE) -C bzip2-1.0.6 clean $(MAKE) -C bzip2-1.0.8 clean
$(MAKE) -C bzip2-1.0.6 $(MAKE) -C bzip2-1.0.8
$(MAKE) -C bzip2-1.0.6 PREFIX=/usr install $(MAKE) -C bzip2-1.0.8 PREFIX=/usr install
cd bzip2-1.0.6 && cp -v bzip2-shared /bin/bzip2 cd bzip2-1.0.8 && cp -v bzip2-shared /bin/bzip2
cd bzip2-1.0.6 && cp -av libbz2.so* /lib cd bzip2-1.0.8 && cp -av libbz2.so* /lib
ln -sv /lib/libbz2.so.1.0 /usr/lib/libbz2.so ln -sv /lib/libbz2.so.1.0 /usr/lib/libbz2.so
rm -v /usr/bin/{bunzip2,bzcat,bzip2} rm -v /usr/bin/{bunzip2,bzcat,bzip2}
ln -sv bzip2 /bin/bunzip2 ln -sv bzip2 /bin/bunzip2
ln -sv bzip2 /bin/bzcat ln -sv bzip2 /bin/bzcat
rm -rf bzip2-1.0.6 rm -rf bzip2-1.0.8
<project name="bzip2"> <project name="bzip2">
<target name="temporary-bzip2"> <target name="temporary-bzip2">
<property name="makedir" value="${builddir}/bzip2-1.0.6"/> <property name="makedir" value="${builddir}/bzip2-1.0.8"/>
<exec executable="tar" failonerror="true"> <exec executable="tar" failonerror="true">
<arg line="xf packages/bzip2/bzip2-1.0.6.tar.gz -C ${builddir}"/> <arg line="xf packages/bzip2/bzip2-1.0.8.tar.gz -C ${builddir}"/>
</exec> </exec>
<exec executable="cp" dir="${makedir}" failonerror="true"> <exec executable="cp" dir="${makedir}" failonerror="true">
<arg line="-v Makefile Makefile.orig"/> <arg line="-v Makefile Makefile.orig"/>
......
Submitted By: Matthew Burgess <matthew@linuxfromscratch.org> diff -uNr bzip2-1.0.8/Makefile bzip2-1.0.8-install_docs-1/Makefile
Date: 2007-01-31 --- bzip2-1.0.8/Makefile 2019-07-14 03:20:05.000000000 +0930
Initial Package Version: 1.0.4 +++ bzip2-1.0.8-install_docs-1/Makefile 2020-07-02 13:29:14.329740173 +0930
Upstream Status: Not submitted
Origin: Randy McMurchy & Steve Crosby
Description: Installs pre-formatted documentation
diff -Naur bzip2-1.0.4.orig/Makefile bzip2-1.0.4/Makefile
--- bzip2-1.0.4.orig/Makefile 2007-01-03 03:49:21.000000000 +0000
+++ bzip2-1.0.4/Makefile 2007-01-26 20:00:01.000000000 +0000
@@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
# Where you want it installed when you do 'make install' # Where you want it installed when you do 'make install'
......
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