-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
drwxr-xr-x root/root usr/ | ||
drwxr-xr-x root/root usr/bin/ | ||
lrwxrwxrwx root/root usr/bin/bunzip2 -> bzip2 | ||
lrwxrwxrwx root/root usr/bin/bzcat -> bzip2 | ||
lrwxrwxrwx root/root usr/bin/bzcmp -> bzdiff | ||
-rwxr-xr-x root/root usr/bin/bzdiff | ||
lrwxrwxrwx root/root usr/bin/bzegrep -> bzgrep | ||
lrwxrwxrwx root/root usr/bin/bzfgrep -> bzgrep | ||
-rwxr-xr-x root/root usr/bin/bzgrep | ||
-rwxr-xr-x root/root usr/bin/bzip2 | ||
-rwxr-xr-x root/root usr/bin/bzip2recover | ||
lrwxrwxrwx root/root usr/bin/bzless -> bzmore | ||
-rwxr-xr-x root/root usr/bin/bzmore | ||
drwxr-xr-x root/root usr/include/ | ||
-rw-r--r-- root/root usr/include/bzlib.h | ||
drwxr-xr-x root/root usr/lib/ | ||
-rw-r--r-- root/root usr/lib/libbz2.a | ||
lrwxrwxrwx root/root usr/lib/libbz2.so -> libbz2.so.1.0.8 | ||
lrwxrwxrwx root/root usr/lib/libbz2.so.1.0 -> libbz2.so.1.0.8 | ||
-rwxr-xr-x root/root usr/lib/libbz2.so.1.0.8 | ||
drwxr-xr-x root/root usr/lib/pkgconfig/ | ||
-rw-r--r-- root/root usr/lib/pkgconfig/bzip2.pc | ||
drwxr-xr-x root/root usr/share/ | ||
drwxr-xr-x root/root usr/share/man/ | ||
drwxr-xr-x root/root usr/share/man/man1/ | ||
-rw-r--r-- root/root usr/share/man/man1/bzdiff.1.gz | ||
-rw-r--r-- root/root usr/share/man/man1/bzgrep.1.gz | ||
-rw-r--r-- root/root usr/share/man/man1/bzip2.1.gz | ||
-rw-r--r-- root/root usr/share/man/man1/bzmore.1.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
67e051268d0c475ea773822f7500d0e5 bzip2-1.0.8.tar.gz | ||
c9bb175c369834d27510119ff41fabf0 bzip2.pc.in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Description: Very high-quality data compression program | ||
# URL: https://sourceware.org/bzip2/ | ||
# Maintainer: CRUX System Team, core-ports at crux dot nu | ||
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | ||
|
||
name=bzip2 | ||
version=1.0.8 | ||
release=3 | ||
source=(https://sourceware.org/pub/bzip2/$name-$version.tar.gz | ||
bzip2.pc.in) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
install -d $PKG/usr/{bin,lib/pkgconfig,include,share/man/man1} | ||
sed "/^CFLAGS/s/-O2/$CFLAGS/" -i Makefile Makefile-libbz2_so | ||
|
||
make -f Makefile-libbz2_so | ||
|
||
install libbz2.so.$version $PKG/usr/lib | ||
ln -s libbz2.so.$version $PKG/usr/lib/libbz2.so | ||
ln -s libbz2.so.$version $PKG/usr/lib/libbz2.so.1.0 | ||
|
||
make clean | ||
make | ||
|
||
install -m 0755 bzip2 bzip2recover bzdiff bzgrep bzmore $PKG/usr/bin | ||
ln -s bzip2 $PKG/usr/bin/bunzip2 | ||
ln -s bzip2 $PKG/usr/bin/bzcat | ||
ln -s bzdiff $PKG/usr/bin/bzcmp | ||
ln -s bzgrep $PKG/usr/bin/bzegrep | ||
ln -s bzgrep $PKG/usr/bin/bzfgrep | ||
ln -s bzmore $PKG/usr/bin/bzless | ||
|
||
install -m 0644 libbz2.a $PKG/usr/lib | ||
install -m 0644 bzlib.h $PKG/usr/include | ||
install -m 0644 *.1 $PKG/usr/share/man/man1 | ||
|
||
sed "s/@VERSION@/$version/" $SRC/bzip2.pc.in > $PKG/usr/lib/pkgconfig/bzip2.pc | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
prefix=/usr | ||
exec_prefix=/usr | ||
bindir=${exec_prefix}/bin | ||
libdir=${exec_prefix}/lib | ||
includedir=${prefix}/include | ||
|
||
Name: bzip2 | ||
Description: A file compression library | ||
Version: @VERSION@ | ||
Libs: -L${libdir} -lbz2 | ||
Cflags: -I${includedir} |