1 # Description: Very high-quality data compression program
2 # URL: http://www.bzip.org/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(http://www.bzip.org/$version/$name-$version.tar.gz \
16 patch -Np1 -i $SRC/$name.patch
18 sed "s|all: libbz2.a bzip2 bzip2recover test|all: libbz2.a bzip2 bzip2recover|g" -i Makefile
20 make CC="$CC" AR="$AR" RANLIB="$RANLIB"
21 make PREFIX=$PKG/usr install
23 make -f Makefile-libbz2_so CC="$CC"
24 make -f Makefile-libbz2_so PREFIX=$PKG/usr install