
install -dm755 $PKG/usr/{bin,lib,include,share/man/man1}

install -m755 bzip2-shared $PKG/usr/bin/bzip2
install -m755 bzip2recover bzdiff bzgrep bzmore $PKG/usr/bin
ln -sf bzip2 $PKG/usr/bin/bunzip2
ln -sf bzip2 $PKG/usr/bin/bzcat

install -m755 libbz2.so.1.0.6 $PKG/usr/lib
ln -s libbz2.so.1.0.6 $PKG/usr/lib/libbz2.so
ln -s libbz2.so.1.0.6 $PKG/usr/lib/libbz2.so.1
ln -s libbz2.so.1.0.6 $PKG/usr/lib/libbz2.so.1.0

install -m644 bzlib.h $PKG/usr/include/

install -m644 bzip2.1 $PKG/usr/share/man/man1/
ln -sf bzip2.1 $PKG/usr/share/man/man1/bunzip2.1
ln -sf bzip2.1 $PKG/usr/share/man/man1/bzcat.1
ln -sf bzip2.1 $PKG/usr/share/man/man1/bzip2recover.1
