description="Very high-quality data compression program"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
url="http://www.bzip.org/"
depends=()

name=bzip2
version=1.0.6
release=1
source=(http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz bzip2.patch)
build () 
{ 
    cd $name-$version;
    patch -Np1 -i $SRC/$name.patch;
    make;
    make PREFIX=$PKG/usr install;
    make -f Makefile-libbz2_so;
    make -f Makefile-libbz2_so PREFIX=$PKG/usr install
}