#!/bin/bash # bzip2 # # Douglas Thrift # # $Id$ name=bzip2 version=1.0.4 revision=0 categories=(base archivers) description='A block-sorting file compressor' url='http://www.bzip.org/' depends=('base/glibc') sources=(http://www.bzip.org/$version/$name-$version.tar.gz Makefile.patch) function build() { gnu_patch Makefile.patch || return $? gmake -f Makefile-libbz2_so || return $? gmake clean all || return $? gmake install PREFIX=$package }