CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
readline: added forgotten patch
[crossrootfs.git]
/
bzip2
/
Pkgfile
diff --git
a/bzip2/Pkgfile
b/bzip2/Pkgfile
index 0190128936c5b99af7f54efa38a6c2350ac76b87..9ac24a5774dca833e6e5b7cdb076e143bea4d1c5 100644
(file)
--- a/
bzip2/Pkgfile
+++ b/
bzip2/Pkgfile
@@
-5,16
+5,21
@@
# Depends on:
name=bzip2
# 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 \
source=(http://www.bzip.org/$version/$name-$version.tar.gz \
- $name
-$version
.patch)
+ $name.patch)
build() {
cd $name-$version
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 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
make -f Makefile-libbz2_so CC="$CC"
make -f Makefile-libbz2_so PREFIX=$PKG/usr install