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
ports: removed port
[crossrootfs.git]
/
libgmp
/
Pkgfile
diff --git
a/libgmp/Pkgfile
b/libgmp/Pkgfile
index 0feb04a216b3290a01c4ecc5a2cc6cfbb6e63b1c..124712a32e8c2461e34a76841c52160c342cd3ad 100644
(file)
--- a/
libgmp/Pkgfile
+++ b/
libgmp/Pkgfile
@@
-5,18
+5,20
@@
# Depends on:
name=libgmp
# Depends on:
name=libgmp
-version=
5.0.5
+version=
6.0.0a
release=1
release=1
-source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.xz)
+source=(ftp://ftp.gmplib.org/pub/gmp-${version%a}/gmp-$version.tar.xz \
+ gmp.h)
build() {
build() {
- cd gmp-$
version
+ cd gmp-$
{version%a}
./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
}