X-Git-Url: http://gitweb/?a=blobdiff_plain;f=bzip2%2FPkgfile;h=9ac24a5774dca833e6e5b7cdb076e143bea4d1c5;hb=abb67c5781e91c932bea4b44fa9c91182ab4652b;hp=0190128936c5b99af7f54efa38a6c2350ac76b87;hpb=b751b192b8a9f558df99b4050babc1b84d45a372;p=crossrootfs.git diff --git a/bzip2/Pkgfile b/bzip2/Pkgfile index 0190128..9ac24a5 100644 --- a/bzip2/Pkgfile +++ b/bzip2/Pkgfile @@ -5,16 +5,21 @@ # Depends on: name=bzip2 -version=1.0.5 -release=1 +version=1.0.6 +release=2 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" make -f Makefile-libbz2_so PREFIX=$PKG/usr install