X-Git-Url: http://gitweb/?a=blobdiff_plain;f=bzip2%2FPkgfile;h=9ac24a5774dca833e6e5b7cdb076e143bea4d1c5;hb=a07eae877ba6ad2572912730950a7778a5517f67;hp=34fda8164a5c00ad5a795835cba44845081d9d4b;hpb=9a71905944b99eac7cf34220027735165fb7d76e;p=crossrootfs.git 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