2006-02-23 16:26:10 +01:00
|
|
|
# Description: Very high-quality data compression program
|
2018-08-10 19:44:44 +02:00
|
|
|
# URL: https://sourceware.org/bzip2/
|
2008-05-05 11:19:16 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=bzip2
|
2010-09-20 20:14:51 +02:00
|
|
|
version=1.0.6
|
2018-02-09 17:43:17 +01:00
|
|
|
release=3
|
2018-08-10 17:05:51 +02:00
|
|
|
source=(https://fossies.org/linux/misc/$name-$version.tar.gz \
|
2018-02-09 17:43:17 +01:00
|
|
|
$name.patch CVE-2016-3189.patch)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2006-04-09 19:07:34 +02:00
|
|
|
cd $name-$version
|
|
|
|
|
2007-01-06 13:01:48 +01:00
|
|
|
patch -Np1 -i $SRC/$name.patch
|
2018-02-09 17:43:17 +01:00
|
|
|
patch -p1 -i $SRC/CVE-2016-3189.patch
|
2006-04-09 19:07:34 +02:00
|
|
|
|
|
|
|
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
|
|
|
}
|