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
curl: aligned with upstream
[crossrootfs.git]
/
libgmp
/
Pkgfile
diff --git
a/libgmp/Pkgfile
b/libgmp/Pkgfile
index d9b3c914ebdf0ba6575275455a1d8760f2b83fac..361de2ab1edff62626ba88d75670b2875ed06d48 100644
(file)
--- a/
libgmp/Pkgfile
+++ b/
libgmp/Pkgfile
@@
-5,19
+5,25
@@
# Depends on:
name=libgmp
# Depends on:
name=libgmp
-version=
4.3
.2
+version=
5.1
.2
release=1
release=1
-source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.
bz2
)
+source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.
xz
)
build() {
cd gmp-$version
build() {
cd gmp-$version
-
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--enable-cxx
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--enable-cxx
+ # Avoid relinkng
+ sed "s|\$progpath \$preserve_args --mode=relink \$libtool_args|echo \"Avoid relinking\"|g" -i libtool
+
make
make
+
+ # Cheat the installer
+ cp .libs/libgmpxx.so.4.3.2 .libs/libgmpxx.so.4.3.2T
+
make DESTDIR=$PKG install
rm -r $PKG/usr/share
}
make DESTDIR=$PKG install
rm -r $PKG/usr/share
}