core/bzip2/Pkgfile

23 lines
504 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Very high-quality data compression program
# URL: http://www.bzip.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
2006-02-23 16:26:10 +01:00
name=bzip2
version=1.0.6
release=3
source=(http://www.bzip.org/$version/$name-$version.tar.gz \
$name.patch CVE-2016-3189.patch)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
2007-01-06 13:01:48 +01:00
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
2006-02-23 16:26:10 +01:00
}