# Description: Very high-quality data compression program # URL: http://www.bzip.org/ # Maintainer: CRUX System Team, core-ports at crux dot nu # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: name=bzip2 version=1.0.6 release=1 source=(http://www.bzip.org/$version/$name-$version.tar.gz \ $name.patch) build() { cd $name-$version patch -Np1 -i $SRC/$name.patch sed "s|all: libbz2.a bzip2 bzip2recover test|all: libbz2.a bzip2 bzip2recover|g" -i Makefile make CC="$CC" AR="$AR" RANLIB="$RANLIB" make PREFIX=$PKG/usr install make -f Makefile-libbz2_so CC="$CC" make -f Makefile-libbz2_so PREFIX=$PKG/usr install }