From: Victor Martinez Date: Thu, 12 Nov 2015 08:05:12 +0000 (+0000) Subject: bzip2: synced upstream release X-Git-Url: http://gitweb/?a=commitdiff_plain;h=f2388520885e0412def0daf50aceac1473171524;p=crossrootfs.git bzip2: synced upstream release --- 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