bzip2: new package at 1.0.8

This commit is contained in:
Muhammad Herdiansyah 2019-08-03 13:28:19 +07:00
parent 0f84f8e0a4
commit b63fdef95b
4 changed files with 26 additions and 0 deletions

23
core/bzip2/build Executable file
View File

@ -0,0 +1,23 @@
#!/bin/sh
make CFLAGS="$CFLAGS -fPIC $LDFLAGS" LDFLAGS="$LDFLAGS" -f Makefile-libbz2_so
make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" bzip2recover libbz2.a
install -Dm755 bzip2-shared "$1/usr/bin/bzip2"
ln -sf bzip2 "$1/usr/bin/bunzip2"
ln -sf bzip2 "$1/usr/bin/bzcat"
install -m755 bzdiff bzgrep bzmore bzip2recover "$1/usr/bin"
install -Dm755 libbz2.so.1.0.8 "$1/usr/lib/libbz2.so.1.0.8"
# Backwards compatibility with older programs
ln -s libbz2.so.1.0.8 "$1/usr/lib/libbz2.so"
ln -s libbz2.so.1.0.8 "$1/usr/lib/libbz2.so.1"
ln -s libbz2.so.1.0.8 "$1/usr/lib/libbz2.so.1.0"
install -m644 libbz2.a "$1/usr/lib"
install -Dm644 bzlib.h "$1/usr/include/bzlib.h"
install -Dm644 bzip2.1 "$1/usr/share/man/man1/bzip2.1"
ln -sf bzip2.1 "$1/usr/share/man/man1/bunzip2.1"
ln -sf bzip2.1 "$1/usr/share/man/man1/bzcat.1"
ln -sf bzip2.1 "$1/usr/share/man/man1/bzip2recover.1"

1
core/bzip2/checksums Normal file
View File

@ -0,0 +1 @@
ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 bzip2-1.0.8.tar.gz

1
core/bzip2/sources Normal file
View File

@ -0,0 +1 @@
https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz

1
core/bzip2/version Normal file
View File

@ -0,0 +1 @@
1.0.8 1