# Description: Very high-quality data compression program # URL: https://sourceware.org/bzip2/ # Maintainer: CRUX System Team, core-ports at crux dot nu name=bzip2 version=1.0.6 release=3 source=(https://fossies.org/linux/misc/$name-$version.tar.gz \ $name.patch CVE-2016-3189.patch) build() { cd $name-$version patch -Np1 -i $SRC/$name.patch patch -p1 -i $SRC/CVE-2016-3189.patch make make PREFIX=$PKG/usr install make -f Makefile-libbz2_so make -f Makefile-libbz2_so PREFIX=$PKG/usr install }