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
ncurses: disabled rpath. Thanks j_v
[crossrootfs.git]
/
libgmp
/
Pkgfile
diff --git
a/libgmp/Pkgfile
b/libgmp/Pkgfile
index d9b3c914ebdf0ba6575275455a1d8760f2b83fac..d00e529a8bd312e8727623e1bf903a5f478c662f 100644
(file)
--- a/
libgmp/Pkgfile
+++ b/
libgmp/Pkgfile
@@
-5,19
+5,20
@@
# Depends on:
name=libgmp
# Depends on:
name=libgmp
-version=
4.3.2
+version=
6.1.0
release=1
release=1
-source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2)
+source=(ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.xz \
+ gmp.h)
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
-
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install
+ mv $PKG/usr/include/gmp{,-32}.h
+ install -m 0644 $SRC/gmp.h $PKG/usr/include/
rm -r $PKG/usr/share
}
rm -r $PKG/usr/share
}