X-Git-Url: http://gitweb/?a=blobdiff_plain;f=bzip2%2FPkgfile;h=34fda8164a5c00ad5a795835cba44845081d9d4b;hb=90dc53e1c4ff8dc932a07423310cf14641d56175;hp=0190128936c5b99af7f54efa38a6c2350ac76b87;hpb=b751b192b8a9f558df99b4050babc1b84d45a372;p=crossrootfs.git diff --git a/bzip2/Pkgfile b/bzip2/Pkgfile index 0190128..34fda81 100644 --- a/bzip2/Pkgfile +++ b/bzip2/Pkgfile @@ -5,14 +5,15 @@ # Depends on: name=bzip2 -version=1.0.5 +version=1.0.6 release=1 source=(http://www.bzip.org/$version/$name-$version.tar.gz \ - $name-$version.patch) + $name.patch) build() { cd $name-$version - patch -p1 -i $SRC/$name-$version.patch + 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"