From f2388520885e0412def0daf50aceac1473171524 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 12 Nov 2015 08:05:12 +0000 Subject: [PATCH] bzip2: synced upstream release --- bzip2/Pkgfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bzip2/Pkgfile b/bzip2/Pkgfile index 34fda81..9ac24a5 100644 --- a/bzip2/Pkgfile +++ b/bzip2/Pkgfile @@ -6,16 +6,20 @@ name=bzip2 version=1.0.6 -release=1 +release=2 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 -- 2.26.2