bzip2 1.0.8

This commit is contained in:
idriskalp
2019-12-23 04:08:52 +03:00
parent 7d0702a728
commit 109b4783df
3 changed files with 61 additions and 8 deletions
+1
View File
@@ -40,6 +40,7 @@ def install():
pisitools.dosym("libbz2.so.1", "/lib/libbz2.so")
pisitools.dosym("libbz2.so.%s" % libversion, "/lib/libbz2.so.1")
pisitools.dohtml("manual.html")
pisitools.dodoc("README", "CHANGES", "bzip2.txt")
@@ -0,0 +1,48 @@
diff -Nru bzip2-1.0.8.orig/Makefile bzip2-1.0.8/Makefile
--- bzip2-1.0.8.orig/Makefile 2019-07-13 20:50:05.000000000 +0300
+++ bzip2-1.0.8/Makefile 2019-12-13 16:35:37.615371592 +0300
@@ -72,8 +72,8 @@
install: bzip2 bzip2recover
if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi
if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi
- if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi
- if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi
+ if ( test ! -d $(PREFIX)/share/man ) ; then mkdir -p $(PREFIX)/share/man ; fi
+ if ( test ! -d $(PREFIX)/share/man/man1 ) ; then mkdir -p $(PREFIX)/share/man/man1 ; fi
if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi
cp -f bzip2 $(PREFIX)/bin/bzip2
cp -f bzip2 $(PREFIX)/bin/bunzip2
@@ -83,8 +83,8 @@
chmod a+x $(PREFIX)/bin/bunzip2
chmod a+x $(PREFIX)/bin/bzcat
chmod a+x $(PREFIX)/bin/bzip2recover
- cp -f bzip2.1 $(PREFIX)/man/man1
- chmod a+r $(PREFIX)/man/man1/bzip2.1
+ cp -f bzip2.1 $(PREFIX)/share/man/man1
+ chmod a+r $(PREFIX)/share/man/man1/bzip2.1
cp -f bzlib.h $(PREFIX)/include
chmod a+r $(PREFIX)/include/bzlib.h
cp -f libbz2.a $(PREFIX)/lib
@@ -99,14 +99,14 @@
cp -f bzdiff $(PREFIX)/bin/bzdiff
ln -s -f $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp
chmod a+x $(PREFIX)/bin/bzdiff
- cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1
- chmod a+r $(PREFIX)/man/man1/bzgrep.1
- chmod a+r $(PREFIX)/man/man1/bzmore.1
- chmod a+r $(PREFIX)/man/man1/bzdiff.1
- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzegrep.1
- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1
- echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1
- echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1
+ cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/share/man/man1
+ chmod a+r $(PREFIX)/share/man/man1/bzgrep.1
+ chmod a+r $(PREFIX)/share/man/man1/bzmore.1
+ chmod a+r $(PREFIX)/share/man/man1/bzdiff.1
+ echo ".so man1/bzgrep.1" > $(PREFIX)/share/man/man1/bzegrep.1
+ echo ".so man1/bzgrep.1" > $(PREFIX)/share/man/man1/bzfgrep.1
+ echo ".so man1/bzmore.1" > $(PREFIX)/share/man/man1/bzless.1
+ echo ".so man1/bzdiff.1" > $(PREFIX)/share/man/man1/bzcmp.1
clean:
rm -f *.o libbz2.a bzip2 bzip2recover \
+12 -8
View File
@@ -12,13 +12,17 @@
<IsA>app:console</IsA>
<Summary>A high-quality data compressor</Summary>
<Description>bzip2 is high-quality data compressor. It typically compresses files to within 10% to 15% of the best available techniques (the PPM family of statistical compressors), whilst being around twice as fast at compression and six times faster at decompression.</Description>
<Archive sha1sum="3f89f861209ce81a6bab1fd1998c0ef311712002" type="targz">https://sourceware.org/pub/bzip2/bzip2-1.0.6.tar.gz</Archive>
<Archive sha1sum="bf7badf7e248e0ecf465d33c2f5aeec774209227" type="targz">https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz</Archive>
<Patches>
<Patch level="1">bzip2-1.0.2-progress.patch</Patch>
<Patch level="1">bzip2-1.0.4-bzip2recover.patch</Patch>
<Patch level="1">bzip2-1.0.4-man-links.patch</Patch>
<Patch>bzip2-1.0.6-saneso.patch</Patch>
<Patch level="1">manpath.patch</Patch>
<!-- <Patch level="1">bzip2-1.0.4-bzip2recover.patch</Patch> -->
<Patch level="1">bzip2-1.0.4-makefile-CFLAGS.patch</Patch>
<!-- <Patch level="1">bzip2-1.0.4-man-links.patch</Patch> -->
<Patch level="1">bzip2-1.0.6-nselectors-upper-bound-check.patch</Patch>
<!-- <Patch>bzip2-1.0.6-saneso.patch</Patch> -->
<!-- <Patch level="1">manpath.patch</Patch> -->
<Patch level="1">bzip2-1.0.8-saneso.patch</Patch>
<Patch level="1">bzip2-1.0.8-manpath.patch</Patch>
</Patches>
</Source>
@@ -36,9 +40,9 @@
<History>
<Update release="5">
<Date>2019-10-01</Date>
<Version>1.0.6</Version>
<Comment>Rebuild</Comment>
<Date>2019-12-13</Date>
<Version>1.0.8</Version>
<Comment>Version bump</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>