repo/bzip2/PACKAGE

19 lines
358 B
Bash

#!/bin/sh
pkg_ver="todo"
pkg_install() {
git clone https://www.sourceware.org/pub/bzip2/bzip2-latest.tar.gz bzip2
cd bzip2
make -f Makefile-libbz2_so
make clean
make
make PREFIX=$1/tools install
cp -v bzip2-shared $1/tools/bin/bzip2
cp -av libbz2.so* $1/tools/lib
ln -sv libbz2.so.1.0 $1/tools/lib/libbz2.so
}
pkg_uninstall() {
make uninstall
}